automation Posted June 3, 2009 Share Posted June 3, 2009 HI, I am trying to automate running music from WMP using URL. SO I LaunchWMP: Run(wmplayer.exe) WinWaitActive("Windows Media Player") Send("^u") #this will popup window - OpenURL where I want to set a URL WinWaitActive("OpenURL") ControlSend("OpenURL", "", "Edit1","http://www.live365.com/stations/swarsudha") # Control send /send does not work and the script hangs. PLZ help. Thanks Link to comment Share on other sites More sharing options...
stampy Posted June 3, 2009 Share Posted June 3, 2009 Your window title is incorrect. It's "Open URL"..... with a space in between. I'd also recommend using the timeout on the winwaitactive's in case something goes wrong then it won't just hang. 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