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 

Pain of Custom Hotkeys...

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



Joined: 07 May 2008
Posts: 35
Location: In your Internets

PostPosted: Mon May 26, 2008 3:26 am    Post subject: Pain of Custom Hotkeys... Reply with quote

I cant get my hotkeys to map correctly, either they come up as "" blank or non-existent hotkey! I know non existent means that it wasnt defined somewhere but i want it to be variable >_< . EG:

Code:

Key_Show := "!+LButton"
Key_Hide := "!+RButton"
Key_Toggle := "!+MButton"
Gosub, HK_Keys

HK_Keys:
Hotkey, %Key_Hide%, Hide, on
Hotkey, %Key_Show%, Show, on
Hotkey, %Key_Toggle%, Toggle, on
return
Back to top
View user's profile Send private message
Gosugenji



Joined: 07 May 2008
Posts: 35
Location: In your Internets

PostPosted: Mon May 26, 2008 3:42 am    Post subject: Reply with quote

Turns out everything works except MButton hotkeys, which dont seem to work.

Code:

Key_Hide=^+LButton
Key_Show=^+RButton
Key_Toggle=!RButton
Gosub, HK_Keys

HK_Keys:
Hotkey, %Key_Hide%, Hide, on
Hotkey, %Key_Show%, Show, on
Hotkey, %Key_Toggle%, Toggle, on
return



Resolved. AHK didnt like my Naming Conventions. VERY WEIRD!
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