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 Windows Logo Key

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



Joined: 01 Dec 2007
Posts: 7

PostPosted: Sat Dec 01, 2007 5:41 am    Post subject: Remapping Windows Logo Key Reply with quote

Consider the following:

Code:
#v::
   MsgBox Hello world
return

^d::
   MsgBox Hello
return

#d::
   MsgBox Hello there
return


As expected, LWin-v, LCtrl-d, and LWin-d all pop up message boxes with various greetings. However, when I add the following remappings...

Code:
LCtrl::LWin
LWin::LAlt
LAlt::LCtrl


...things break. The remapping appears to work just fine. I can press LCtrl and the Start menu pops open. However, when I try and use it for hotkeys, things don't work properly.

Pressing LCtrl-v displays the message box with "Hello world" in it, like expected. Pressing LAlt-d displays "Hello" as expected. So far, the remapping is working just fine. However, when I press LCtrl-d it does not show a message box with "Hello there", but instead it does a 'show desktop' command just like I had pressed LWin-d before doing the remap. Strangely, after showing my desktop, the control key is still down and I have to press LCtrl again to clear it.

Have I stumbled upon a bug or am I doing something wrong?
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