Jump to content

Recommended Posts

Posted

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.

HotKeySet("{VOLUME_UP}","MediaNext")
HotKeySet("{VOLUME_DOWN}","MediaPrevious")

while 1

Func MediaNext()
    Send("{MEDIA_NEXT}")

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

Func MediaPrevious()
    Send("{MEDIA_PREV}")
EndFunc

sleep(50)

wend

Posted (edited)

maybe something like this

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

While 1
Sleep(50)

WEnd

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...