Jump to content
Sign in to follow this  

Seting text in WMP OpenURL window

Recommended Posts



I am trying to automate running music from WMP using URL.

SO I LaunchWMP:


WinWaitActive("Windows Media Player")


#this will popup window - OpenURL where I want to set a URL


ControlSend("OpenURL", "", "Edit1","http://www.live365.com/stations/swarsudha")

# Control send /send does not work and the script hangs.

PLZ help.


Share this post

Link to post
Share on other sites

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.

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