Foxhound Posted August 1, 2010 Share Posted August 1, 2010 I have an HP dv6647cl that comes with a set of custom keys for DVD, Sound, and Playback control. Since I upgraded from Vista to 7, some of those keys still work but the DVD button has no function. Is there any way to make AutoIT use one of those custom keys with HotKeySet?The actual code is rather simple:HotKeySet("{???}","dvd") While 1 Sleep(1000) WEnd Func dvd() If ProcessExists("wmplayer.exe") Then Exit Run("C:\Program Files\Windows Media Player\wmplayer.exe") Exit EndFunc [quote]Quick YouTube To MP3 | Lyrics Finder | Internet Radio Player | GetWeather | TinyURLifier[/quote] Link to comment Share on other sites More sharing options...
smashly Posted August 1, 2010 Share Posted August 1, 2010 Hi, Have you looked at Send() in the help file? There is some Multimedia keys you could try and see if they work. If none of those keys work then you'll probably need to write your own hook to work like a hotkey. It appears that HotKeySet() doesn't seem to work "{ASC nnnn)", shame because it's quite easy to find the ASCII value of your DVD key. Cheers Link to comment Share on other sites More sharing options...
Richard Robertson Posted August 2, 2010 Share Posted August 2, 2010 Function keys are rarely accessible without direct driver access since most keyboards are custom. You probably can't hotkey it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now