Jump to content
Sign in to follow this  
Golbez

send music hotkeys?

Recommended Posts

Golbez

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

Share this post


Link to post
Share on other sites
Golbez

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

Share this post


Link to post
Share on other sites
NerdFencer

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

Share this post


Link to post
Share on other sites
Golbez

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 :)

Share this post


Link to post
Share on other sites
jaberwacky

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.

Share this post


Link to post
Share on other sites
Golbez

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.