Jump to content

Recommended Posts

Posted

is there a way to send the music keys on a keyboard?

like i have a play key on my keyboar. how do i use send to send them?

sorry if this has ben asked before i was unable to find anything with the search and its not in my helpfile

Posted

I am not aware of how to do this with an AutoIt function, but you could just call the SendInput function in user32.dll.

The documentation on the function is here

ty but im not sure if that will work cause im retarted lol

Posted

If you need an example for calling dll functions, take a look at my Mouse UDF.

It uses many functions from that DLL, and would work as a decent source for figuring it out. Unfortunately I do not have time at the moment to write you a function that would do it, but you should be able to piece it together fairly well with the help of the example, and the documentation.

_________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell

Posted

If you need an example for calling dll functions, take a look at my Mouse UDF.

It uses many functions from that DLL, and would work as a decent source for figuring it out. Unfortunately I do not have time at the moment to write you a function that would do it, but you should be able to piece it together fairly well with the help of the example, and the documentation.

kk thank you :)

Posted

is there a way to send the music keys on a keyboard?

like i have a play key on my keyboar. how do i use send to send them?

sorry if this has ben asked before i was unable to find anything with the search and its not in my helpfile

Do you refer to the media player buttons? You know, the forward, backward, play, pause, etc?

If so then they are in the helpfile. Search for send key list.

Posted (edited)

Do you refer to the media player buttons? You know, the forward, backward, play, pause, etc?

If so then they are in the helpfile. Search for send key list.

yes thats what i ment...

i need to update autoit :lmao:

ty :)

Edited by Golbez

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
×
×
  • Create New...