Jump to content
Sign in to follow this  
RasmusJ

Can't get {MEDIA_PLAY_PAUSE} to work

Recommended Posts

RasmusJ

Hi, 

Completely new to AutoIt here. I am making some very simple scripts, that I need for some voice control. 

Each script just contains one line

Send("{MEDIA_NEXT}")

Send("{MEDIA_PREV}")

Send("{MEDIA_PLAY_PAUSE}")

etc.

Now the first two scripts works fine both in script and compiled form. 

The last one Send("{MEDIA_PLAY_PAUSE}") however are giving me some problems. 

If I run it in SciTE it works fine, and I can see the expected action on my computer. 

however if I run the script by right click->run script  or in a compiled version, then my computer don't react to it. 

I am running on Windows 8.1 btw. 

Anyone, who knows why this is, and how I can fix it?

BR,

Rasmus

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.