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 

Detect special keys via hex code?

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



Joined: 18 Nov 2006
Posts: 160

PostPosted: Sun Jul 06, 2008 10:58 am    Post subject: Detect special keys via hex code? Reply with quote

Hi Forum,

my keyboard has a number of special keys that can be assigned with standard actions like cut, paste etc.

However I'd like to assign special actions (actually mouse clicks) with these hotkeys via AutoHotkey.

Here's what I get from AutoHotkey "Key History" view when I hit three of these special keys:

Code:
FF  117       d   1.36   I                 
FF  117       u   0.19   I                 
FF  118       d   0.13   O                 
FF  118       u   0.19   O                 
FF  10A       d   0.11   9                 
FF  10A       u   0.14   9

Is there a way that AutoHotkey can detect these keys and assign hotkey actions with them, like e.g.

FF117::RButton ??

Thanks for help,
David.P
Back to top
View user's profile Send private message
n-l-i-d
Guest





PostPosted: Sun Jul 06, 2008 7:59 pm    Post subject: Reply with quote

You can use the Scan Code or the Virtual Key Code, see Special Keys

HTH
Back to top
David.P



Joined: 18 Nov 2006
Posts: 160

PostPosted: Sun Jul 06, 2008 9:42 pm    Post subject: Reply with quote

Great, thanks!

Now, it was as easy as:

Code:
SC117::LButton
SC118::MButton
SC10A::RButton

Thanks again,
David.P
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