AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remapping problem (AltTab)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
rpnfan



Joined: 01 Aug 2007
Posts: 5

PostPosted: Wed Aug 01, 2007 6:01 am    Post subject: Remapping problem (AltTab) Reply with quote

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
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 4031
Location: Pittsburgh

PostPosted: Fri Aug 10, 2007 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group