Sign in to follow this  
Followers 0
WhiteAvenger

Windows Media Player

5 posts in this topic

Hi,

is there an easy way of controlling the Windows Media Player (v11) with AutoIt? I couldn't find any controls to use, so I have to use MouseClick().

But I'd much rather use ControlClick() or something where I can just say Play() and it presses the Play button.

Do I have to rely on MouseClick() for the WMP?

Thanks

--WhiteAvenger

Share this post


Link to post
Share on other sites



hi

search forum for "wmp.au3"

Share this post


Link to post
Share on other sites

hi

search forum for "wmp.au3"

Hi nobbe,

I searched, I found, and I was not rewarded.

The wmp.au3 I found (I guess you mean this one) is - as far as I found out - only for embedding the player in a GUI. What I want to do is control a maximised player using just hotkeys with HotKeySet() and my user-defined functions, i.e. a hotkey for selecting and playing a certain song, another one for simply playing the current song etc.

Is it possible to take what CyberZeroCool wrote and transfer it to work with a pre-loaded (i.e. started before the script) WMP?

Share this post


Link to post
Share on other sites

Hi, just use Send("{MEDIA_PLAY_PAUSE}"), should work :D


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Hi, just use Send("{MEDIA_PLAY_PAUSE}"), should work :D

What, it's that simple? lol...

Thanks, that solved it!

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  
Followers 0