Jump to content
Sign in to follow this  

HotKeySet and custom buttons.

Recommended Posts

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:

While 1

Func dvd()
If ProcessExists("wmplayer.exe") Then Exit
Run("C:\Program Files\Windows Media Player\wmplayer.exe")

Share this post

Link to post
Share on other sites


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.


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...