AutoHotkey Community

It is currently May 25th, 2012, 3:03 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: August 16th, 2007, 6:50 pm 
Offline

Joined: February 7th, 2005, 11:11 am
Posts: 192
Location: Munich, Germany
Hi folks,

I bought myself a wireless keyboard from Labtec ("Media Wireless Desktop") wich has 15 extra keys. It works fine, but the featured software is [...] (insert a f-word of your choice in brackets :D ). So I'm searching the keycodes for that keyboard. The problem is that I've Win 98 and can not install that keyhook and spy out the aditional codes.
Has anybody such a keyboard or does anybody know a method to find out the codes?

Thanks in advance!

Peter

_________________
Peter

Wisenheiming for beginners: KaPeGe (German only, sorry)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2007, 7:01 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8657
Location: Salem, MA
what keys are they?

see the key list in the help file
Quote:
The following exist only on Multimedia or Internet keyboards that have extra buttons or keys:
Browser_Back
Browser_Forward
Browser_Refresh
Browser_Stop
Browser_Search
Browser_Favorites
Browser_Home
Volume_Mute
Volume_Down
Volume_Up
Media_Next
Media_Prev
Media_Stop
Media_Play_Pause
Launch_Mail
Launch_Media
Launch_App1
Launch_App2


_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2007, 7:21 pm 
Offline

Joined: February 7th, 2005, 11:11 am
Posts: 192
Location: Munich, Germany
Thanks for your quick answer!
I used this code:
Code:
+^q:: ; Test
   KeyWait Launch_Mail
   msgbox, Hello
return

After pressing ctrl+shift+q the answere is "Hello" without waiting. (I have Win 98.)

_________________
Peter

Wisenheiming for beginners: KaPeGe (German only, sorry)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2007, 8:13 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8657
Location: Salem, MA
try:
Code:
Browser_Back::
Browser_Forward::
Browser_Refresh::
Browser_Stop::
Browser_Search::
Browser_Favorites::
Browser_Home::
Volume_Mute::
Volume_Down::
Volume_Up::
Media_Next::
Media_Prev::
Media_Stop::
Media_Play_Pause::
Launch_Mail::
Launch_Media::
Launch_App1::
Launch_App2::
Msgbox, %A_thisHotkey%
Return

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 17th, 2007, 7:05 am 
Offline

Joined: February 7th, 2005, 11:11 am
Posts: 192
Location: Munich, Germany
Thanks for your hint, but this won't work either. So I did this:
Code:
loop, 999
{
   cnt = 00%A_Index%
   cnt := SubStr(cnt,-2,3)
   raus = %raus%SC%cnt%::`r`n
}
FileAppend, %raus%, C:\WINDOWS\Desktop\Script\AlleKeyCodes.ahk

to generate that:
Code:

#MaxThreads 1100
SC001::
SC002::
SC003::
SC004::
SC005::
SC006::
SC007::
SC008::
...
Msgbox, %A_thisHotkey%
Return

It wasn't working with all 999 codes so I cropped it at 575 and than it works.
And what's the result? Every key is sending code 100!

Changing "SC" into "VK" the result are five errors like "VK100 will not be active because it does not exist in the current keyboard layout" repeating with 200, 300, 400 and 500.
Then it's working but none of the special keys is responding at all. The normal keys are in both cases working as expected.

Has anybody an idea?

_________________
Peter

Wisenheiming for beginners: KaPeGe (German only, sorry)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: azure, BrandonHotkey and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group