Author Topic: Windows-Key w/o windows-key?  (Read 1882 times)

0 Members and 1 Guest are viewing this topic.

Offline VentiLator

  • Thread Starter
  • Posts: 42
Windows-Key w/o windows-key?
« on: Fri, 12 November 2010, 12:31:56 »
hi,

sometimes i actually use the win-key (command- or super-key)

but actually none of my older boards have the key. is there any way to remap the key? ctrl+esc doesn't work for the shortcuts.

i was looking into autohotkey but i have no clue how to map the winkey.
« Last Edit: Fri, 12 November 2010, 12:51:35 by VentiLator »
[SIGPIC][/SIGPIC]

Offline Rajagra

  • Posts: 1930
Windows-Key w/o windows-key?
« Reply #1 on: Fri, 12 November 2010, 12:41:50 »
Yes. I often use KeyTweak to make the ScrollLock key work as a Windows key. It makes a simple change to the registry, you only need to run the program once.

Offline VentiLator

  • Thread Starter
  • Posts: 42
Windows-Key w/o windows-key?
« Reply #2 on: Fri, 12 November 2010, 12:59:39 »
oh, that sounds nice! thank you!

do you know how to remap multiple keys / combinations?
« Last Edit: Fri, 12 November 2010, 13:05:39 by VentiLator »
[SIGPIC][/SIGPIC]

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Windows-Key w/o windows-key?
« Reply #3 on: Fri, 12 November 2010, 13:12:22 »
I use this autohotkey script to map caps lock to be the left win key, and have pressing both shifts together toggle caps lock...

Code: [Select]
#NoEnv
SendMode Input
#SingleInstance Force
#HotkeyInterval 999999
#MaxHotkeysPerInterval 9999
#UseHook On

; CapsLock becomes LWin, so use both shifts to toggle CapsLock...
;Lshift & Rshift::Send {CapsLock}
Lshift & Rshift::SetCapsLockState, % GetKeyState("CapsLock", "T")? "Off":"On"
Rshift & Lshift::SetCapsLockState, % GetKeyState("CapsLock", "T")? "Off":"On"
CapsLock::LWin

(ignore the first six lines, they're just stuff you tend to have at the top of each script)

Offline VentiLator

  • Thread Starter
  • Posts: 42
Windows-Key w/o windows-key?
« Reply #4 on: Fri, 12 November 2010, 13:13:15 »
using the registry looks more elegant to me. thanks though.
[SIGPIC][/SIGPIC]

Offline Soarer

  • * Elevated Elder
  • Posts: 1918
  • Location: UK
Windows-Key w/o windows-key?
« Reply #5 on: Fri, 12 November 2010, 13:18:39 »
and you need to reboot to make the registry changes take effect.

Offline VentiLator

  • Thread Starter
  • Posts: 42
Windows-Key w/o windows-key?
« Reply #6 on: Fri, 12 November 2010, 13:29:54 »
oh noez, rebooting! my uptime!!1
[SIGPIC][/SIGPIC]

Offline steeef

  • Posts: 156
Windows-Key w/o windows-key?
« Reply #7 on: Fri, 12 November 2010, 13:37:54 »
KeyTweak works great for me, as it's a registry change that's active when Windows starts up. With AutoHotkey you've got to wait until you're logged in, and it's only active while the program is running.
Cherry MX Blue: Filco Majestouch Tenkeyless. Cherry MX Black: TG3 KBA-BLTD-5RBUVS (Police Cruiser keyboard). Cherry MX Clear: KBC Poker (modded with Ergo Clears) Cherry MX Brown: Goldtouch GTC-077 USB numpad. Buckling Spring: IBM Model M 1391401 (1989-01-03 and 1991-11-21).

Offline Rajagra

  • Posts: 1930
Windows-Key w/o windows-key?
« Reply #8 on: Fri, 12 November 2010, 13:42:02 »
I suggest using KeyTweak to remap keys to overcome missing keys on a keyboard. (Sharpkeys is a similar utility that some people prefer.) Then use AutoHotkey for the more fancy stuff.

For example if you have an American pre-Windows keyboard and want to use it in Europe, you could map RightAlt (AltGr) to work as the Windows key, and ScrollLock to work as the extra key found on European keyboards (between LeftShift and Z.)

(You can use Ctrl-Alt in place of AltGr, or alternatively remap RightCtrl to act as AltGr.)

At the risk of confusing you, here are the KeyTweak mappings I'm trying now. (I use the "Macintosh Keypad =" scan code to trigger my AutoHotkey functions.)

« Last Edit: Fri, 12 November 2010, 14:18:00 by Rajagra »

Offline KillerBee

  • Posts: 251
  • Location: Miami, FL
Windows-Key w/o windows-key?
« Reply #9 on: Sun, 14 November 2010, 07:16:27 »
I need to keep this away from my model m's

IBM Model M 1386304 Nov. 1985

Offline WhiteRice

  • Posts: 850
Windows-Key w/o windows-key?
« Reply #10 on: Sun, 14 November 2010, 11:09:36 »
I use sharpkeys to re-map capslock to control and left control to windows.

Offline ricercar

  • * Elevated Elder
  • Posts: 1697
  • Location: Silicon Valley
  • mostly abides
Windows-Key w/o windows-key?
« Reply #11 on: Fri, 19 November 2010, 20:27:11 »
I find I have to game only on the keyboards I own without meta keys, or remove the key left metakey cap during my gaming session. I'm far too prone to hit it in the middle of combat, and the result is utterly unacceptable.
I trolled Geekhack and all I got was an eponymous SPOS.