WhiteAvenger Posted April 25, 2008 Share Posted April 25, 2008 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 Link to comment Share on other sites More sharing options...
nobbe Posted April 25, 2008 Share Posted April 25, 2008 hi search forum for "wmp.au3" Link to comment Share on other sites More sharing options...
WhiteAvenger Posted April 25, 2008 Author Share Posted April 25, 2008 hisearch 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? Link to comment Share on other sites More sharing options...
monoceres Posted April 25, 2008 Share Posted April 25, 2008 Hi, just use Send("{MEDIA_PLAY_PAUSE}"), should work Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
WhiteAvenger Posted April 25, 2008 Author Share Posted April 25, 2008 Hi, just use Send("{MEDIA_PLAY_PAUSE}"), should work What, it's that simple? lol...Thanks, that solved it! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now