ReMapping Volume Keys: Not working

3 posts in this topic

I'm not sure why, but no response from the Keys.  I suspect my Microsoft keyboard isn't sending a conventional code for Volume.  Au3Record.exe doesn't register a key press.  If I knew where to edit the windows registry, I'd pursue that option instead.


while 1

Func MediaNext()

   msgbox(0,"Test Response","")

Func MediaPrevious()



Share this post

Link to post
Share on other sites

#2 ·  Posted (edited)

maybe something like this

HotKeySet("{ESC}", "MediaNext")
HotKeySet("{F1}", "MediaPrevious")

While 1


Func MediaNext();Testing1
;~  Send("{MEDIA_NEXT}")

    MsgBox(0, "Test Response", "MEDIA_NEXT")
EndFunc   ;==>MediaNext

Func MediaPrevious();Testing2
;~  Send("{MEDIA_PREV}")
    MsgBox(0, "Test Response", "MediaPrevious")
EndFunc   ;==>MediaPrevious

dont forget to use the code tags "<>" for posting script.

Edited by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Share this post

Link to post
Share on other sites

For hotkey stuff Id lower the sleep even more to like 10ms helps with response. 

The original code might work, I would take the functions out of the loop as shown in the 2nd post. 

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