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 

Special Keys?

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



Joined: 15 Feb 2005
Posts: 18
Location: Ludwigsburg, Germany

PostPosted: Wed Feb 16, 2005 2:23 pm    Post subject: Special Keys? Reply with quote

Hi,

I have a Dell Keyboard that has three extra buttons. If I initialize the
keyboard hook with #InstallKeybdHook and press those buttons the key
history has got the 'mystery keys' listed.

They are:

VK: FF - SC: 112
VK: FF - SC: 11E
VK: FF - SC: 126

If I want to add one of those keys as a hotkey in my script it doesn't work.
My script looks like this:

Code:

#InstallKeybdHook

SC112::MsgBox, Test


I think I understood the instructions of the helpfile but it doesn't work.
No event is fired if I press a special key...

I hope you can help me

any Ideas Wink
_________________
In a world without walls and fences who needs windows and gates?
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Wed Feb 16, 2005 2:35 pm    Post subject: Reply with quote

Try using the "SC" method on a normal key:
SC03C::MsgBox You pressed F2.

If it works on a normal key but not on your special keys, that would be a little baffling. If you have time, I would like to work with you to find out why.
Back to top
View user's profile Send private message Send e-mail
ULTRA



Joined: 15 Feb 2005
Posts: 18
Location: Ludwigsburg, Germany

PostPosted: Wed Feb 16, 2005 4:50 pm    Post subject: Reply with quote

SC03C:: works fine. But my special keys don't.

Yes, I have time! it would be great to find out why it doesn't work.
You have my support.

I PMed you my E-Mail address and ICQ uin.
_________________
In a world without walls and fences who needs windows and gates?
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Wed Feb 16, 2005 4:52 pm    Post subject: Reply with quote

Quote:
In a world without walls and fences who needs windows and gates?

i like it! Wink
_________________
Back to top
View user's profile Send private message
ULTRA



Joined: 15 Feb 2005
Posts: 18
Location: Ludwigsburg, Germany

PostPosted: Wed Feb 23, 2005 3:17 pm    Post subject: Reply with quote

Great, the new version's "fire on key release-hotkeys" got it working.
Thank you, Chris, for reacting so quickly!
_________________
In a world without walls and fences who needs windows and gates?
Back to top
View user's profile Send private message Visit poster's website
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