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 

Support the extra keys on the Microsoft Multimedia Keyboard

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
smythg



Joined: 08 Mar 2005
Posts: 4
Location: UK

PostPosted: Tue Mar 15, 2005 10:02 am    Post subject: Support the extra keys on the Microsoft Multimedia Keyboard Reply with quote

I have been using AutoHotkey for a few days now and it is a great piece of software. I am just surprised I had never heard of it before. I used to use the Microsoft IntelliType software to control launching of applications etc via the keyboard, but with AutoHotkey I can do much, much more.

The main drawback I have found is that AutoHotkey (v1.0.29.00) does not support the extra keys on my keyboard, a Microsoft Wireless Multimedia Keyboard 1.0A.

The keys which do not appear to be supported include "My Documents", "My Pictures", "My Music", "Messenger" and "Log Off". They are NOT listed in the key history and "Keybd hook" shows Yes. These extra keys are recognised by the Microsoft IntelliType software so I guess they are accessible via software.

What are the chances of AutoHotkey supporting the extra keys on Microsoft keyboards such as mine?
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Tue Mar 15, 2005 11:36 am    Post subject: Reply with quote

Try the following alternatives, in this order:

1) Temporarily disable Intellitype and then see if the keys show up in key history.

2) If it doesn't help, re-enable Intellitype but configure it to send an obscure keystroke, such as Ctrl-Shift-F12, when you press "My Documents". Create that keystroke as a hotkey in the script as follows: ^+F12::You pressed %A_ThisHotkey%. If it works, assign unique keystrokes & hotkeys to all other desired keys.

3) If there no way to have Intellitype send keystrokes (or do some other action detectible by the script), you could try the more radical step of deinstalling Intellitype and see if that allows the keys to appear in key history.

Quote:
I have removed all of the Microsoft IntelliType ... This does not seemed to have helped AutoHotkey recognise some of the extra keys on a Microsoft Multimedia Keyboard.
I just read your reply to the other topic. I should have suggested re-enabling and reconfiging of Intellitype sooner (open #2 above) because I think that is the only easy option remaining.
Back to top
View user's profile Send private message Send e-mail
smythg



Joined: 08 Mar 2005
Posts: 4
Location: UK

PostPosted: Tue Mar 15, 2005 12:47 pm    Post subject: Reply with quote

Thanks for the reply Chris.

The Microsoft IntelliType software does not allow remapping of keys, only issuing a predefined command (e.g. Open email, Logoff) or start a specified program or file.

Ideally I would like to remove the IntelliType software as it causes other problems on my system. If AutoHotkey cannot see the keys the IntelliType software can (Microsoft using undisclosed APIs?) then would it be possible to use the IntelliType "start a specified file" facility to run an AutoHotkey script which does the actions I want and then exits the script?

If this is possible that would be a fair compromise.

Thanks again for your help.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Tue Mar 15, 2005 1:36 pm    Post subject: Reply with quote

smythg wrote:
The Microsoft IntelliType software does not allow remapping of keys, only issuing a predefined command (e.g. Open email, Logoff) or start a specified program or file.
You might want to double check that because I seem to remember that it does allow the sending of keystrokes (maybe I'm thinking of IntelliMouse).

Quote:
Ideally I would like to remove the IntelliType software as it causes other problems on my system.
One last thing you can try that's fairly drastic is to replace any keyboard-specific driver you have installed with a generic keyboard driver. That might allow AutoHotkey to see the special keys.

Quote:
would it be possible to use the IntelliType "start a specified file" facility to run an AutoHotkey script which does the actions I want and then exits the script?
If nothing else works, that sounds like a good way.
Back to top
View user's profile Send private message Send e-mail
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Mar 15, 2005 2:09 pm    Post subject: Reply with quote

To help with the script running, if you have to resort to that, I have a method of inter-script communication you could use so that all the actual actions could still be contained in one, main script. I'll be posting this method in the Scripts section soon since it's solved so many problems in this forum (maybe yours, too!).
Back to top
View user's profile Send private message
smythg



Joined: 08 Mar 2005
Posts: 4
Location: UK

PostPosted: Tue Mar 15, 2005 5:52 pm    Post subject: Reply with quote

Hi Chris. I have checked the help text and cannot find anything about reassigning.mapping keys. It could be possible but I cannot see a way or any mention of the ability.

On the keyboard driver. It looks like I have a standard Microsoft one from 2001 - version 5.1.2600.2180.

Jonny, thanks for the offer of your script. I will keep an eye out for that as my script expertise is quite (very) basic at the moment.
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Mar 17, 2005 4:30 am    Post subject: Reply with quote

Here it is.
Back to top
View user's profile Send private message
freakkk
Guest





PostPosted: Sat Mar 26, 2005 5:11 pm    Post subject: Reply with quote

i am using the exact same Microsoft Wireless Multimedia Keyboard 1.0A keyboard-- and this seems to be working fine w/ those keys for me...

Code:

#InstallKeybdHook
#singleinstance force

SC14c::
MsgBox, %A_ThisHotKey%- my doc's.. was pressed.
return

SC164::
MsgBox, %A_ThisHotKey%- my pics.. was pressed.
return

SC13c::
MsgBox, %A_ThisHotKey%- my music.. was pressed.
return

SC120::
MsgBox, %A_ThisHotKey%- mute.. was pressed.
return

SC122::
MsgBox, %A_ThisHotKey%- play/pause.. was pressed.
return

SC124::
MsgBox, %A_ThisHotKey%- stop.. was pressed.
return

SC110::
MsgBox, %A_ThisHotKey%- |<.. was pressed.
return

SC119::
MsgBox, %A_ThisHotKey%- >|.. was pressed.
return

SC16d::
MsgBox, %A_ThisHotKey%- media.. was pressed.
return

SC16c::
MsgBox, %A_ThisHotKey%- launch mail.. was pressed.
return

SC132::
MsgBox, %A_ThisHotKey%- web home.. was pressed.
return

SC105::
MsgBox, %A_ThisHotKey%- messanger.. was pressed.
return

Back to top
freakkk
Guest





PostPosted: Sat Mar 26, 2005 5:31 pm    Post subject: Reply with quote

oh yeah.. i forgot these two
Code:

SC121::
MsgBox, %A_ThisHotKey%- calculator.. was pressed.
return

SC116::
MsgBox, %A_ThisHotKey%- log off.. was pressed.
return
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 755
Location: Berlin

PostPosted: Sun Mar 27, 2005 2:06 pm    Post subject: Reply with quote

Works for me too Cool ...

Microsoft Natural MultiMedia Keyboard 1.0A

Means I can kill type32.exe (The process that controls the extra keys)

This leaves the volume up/down, the 'standby' and the F-keys (function keys) toggle key...

Any luck on those?
_________________
(sorry, homesite offline atm)
Back to top
View user's profile Send private message
freakkk
Guest





PostPosted: Mon Mar 28, 2005 12:40 am    Post subject: Reply with quote

the f-lock key itself doesn't seem to generate any system events.. however-- you can still take advantage of both states of those keys..
Code:

;///////////////////////
;///  FUNCTION KEYS  ///
;//////////////////////
SC03B::
MsgBox, %A_ThisHotKey%- F1 .. was pressed.
return
SC13B::
MsgBox, %A_ThisHotKey%- HELP .. was pressed.
return
;------------------------------
SC03C::
MsgBox, %A_ThisHotKey%- F2 .. was pressed.
return
SC108::
MsgBox, %A_ThisHotKey%- UNDO .. was pressed.
return
;------------------------------
SC03D::
MsgBox, %A_ThisHotKey%- F3 .. was pressed.
return
SC107::
MsgBox, %A_ThisHotKey%- REDO .. was pressed.
return
;------------------------------
SC03E::
MsgBox, %A_ThisHotKey%- F4 .. was pressed.
return
SC13E::
MsgBox, %A_ThisHotKey%- NEW .. was pressed.
return
;------------------------------
SC03F::
MsgBox, %A_ThisHotKey%- F5 .. was pressed.
return
SC13F::
MsgBox, %A_ThisHotKey%- OPEN .. was pressed.
return
;------------------------------
SC040::
MsgBox, %A_ThisHotKey%- F6 .. was pressed.
return
SC140::
MsgBox, %A_ThisHotKey%- CLOSE .. was pressed.
return
;------------------------------
SC041::
MsgBox, %A_ThisHotKey%- F7 .. was pressed.
return
SC141::
MsgBox, %A_ThisHotKey%- REPLY .. was pressed.
return
;------------------------------
SC042::
MsgBox, %A_ThisHotKey%- F8 .. was pressed.
return
SC142::
MsgBox, %A_ThisHotKey%- FWD .. was pressed.
return
;------------------------------
SC043::
MsgBox, %A_ThisHotKey%- F9 .. was pressed.
return
SC143::
MsgBox, %A_ThisHotKey%- SEND .. was pressed.
return
;------------------------------
SC044::
MsgBox, %A_ThisHotKey%- F10 .. was pressed.
return
SC123::
MsgBox, %A_ThisHotKey%- SPELL .. was pressed.
return
;------------------------------
SC057::
MsgBox, %A_ThisHotKey%- F11 .. was pressed.
return
SC157::
MsgBox, %A_ThisHotKey%- SAVE .. was pressed.
return
;------------------------------
SC058::
MsgBox, %A_ThisHotKey%- F12 .. was pressed.
return
SC158::
MsgBox, %A_ThisHotKey%- PRINT .. was pressed.
return
;------------------------------
SC152::
MsgBox, %A_ThisHotKey%- INSERT .. was pressed.
return
SC137::
MsgBox, %A_ThisHotKey%- PRTSCN/SYSRQ .. was pressed.
return
;------------------------------
SC046::
MsgBox, %A_ThisHotKey%- SCROLL LOCK .. was pressed.
return
SC045::
MsgBox, %A_ThisHotKey%- PAUSE/BREAK .. was pressed.
return

the volume directly changes your main volume control.. but i suppose you could get creative and use SoundSet to set your volume at 50% when you start your script.. and have SoundGetWaveVolume set in a timer to sense a change & do whatever you want it to.
i wasn't able to get the scan code for sleep because when i hit it... well-- my computer just goes to sleep!! (haha)
Back to top
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Tue Mar 29, 2005 1:02 pm    Post subject: Reply with quote

Hi,

the scancode for sleep is 15F on my keyboard, I also can use the keyname SLEEP as stated in ahk's help.

Tekl
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 -> Wish List 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