| View previous topic :: View next topic |
| Author |
Message |
rpnfan
Joined: 01 Aug 2007 Posts: 5
|
Posted: Wed Aug 01, 2007 6:01 am Post subject: Remapping problem (AltTab) |
|
|
Hi,
I try to use the CapsLock-key as a new modifier key for many hotkeys, hotstrings and remaps. Because it doesn't seem to be possible to use the plain CapsLock-key as a modifier I have remapped it to the Win-key.
But I get into trouble here:
| Code: |
sc03A::RWin ; Remap: CapsLock-Key should act as a universal
; modifier key (in this case Win-key)
#j::Down ; works fine alone
sc03A & ö::AltTab ; works fine alone too
; both together -> problem
; CapsLock-Key (sc03a) together with j-key will not
; any longer act as the down key
; at least in some apps it refuses to do so:
; in explorer it doesn't work, in the editor Vim it does
|
I'm very glad when someone has an idea how to assign the AltTab function to the CapsLock+ö key combination without killing the remap to the win key. ö is the german character right beside the L-key.
Thanks for your help
Peter |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4031 Location: Pittsburgh
|
Posted: Fri Aug 10, 2007 12:39 am Post subject: |
|
|
I have been using the CapsLock key for modifier for two years now, without any problems.
| Code: | SetCapslockState AlwaysOff ; Ctrl-CapsLock hotkey will toggle
^CapsLock:: ; Control-Capslock = Toggle CapsLock
GetKeyState t, CapsLock, T
IfEqual t,D, SetCapslockState AlwaysOff
Else SetCapslockState AlwaysOn
Return
CapsLock & a:: ; example
MsgBox CapsLock and A
Return |
|
|
| Back to top |
|
 |
|