robinsiebler Posted October 27, 2005 Share Posted October 27, 2005 It's not much, but it's only my 3rd script. I listen to Sirius Radio at work and got tired of the rigamarole involved with launching their 'player'. So if anyone else listens, below is the script. You might have to tweak it a bit if your IE title is different. ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: Robin Siebler <robinsiebler@321.net> ; ; Script Function: ; Launch the Sirius Player and log in w/ RoboForm ; ; ---------------------------------------------------------------------------- $ietitle = "Microsoft Internet Explorer" $playertitle = "http://mpcache.sirius.com - Welcome to the SIRIUS Player - Microsoft Internet Explorer" Run("c:\Program Files\Internet Explorer\IEXPLORE.EXE") WinWaitActive($ietitle) $handle = WinGetHandle($ietitle) ControlClick($handle, "", "Edit2") Send("http:/www.sirius.com{ENTER}") Sleep(8000) ControlClick($handle, "", "Edit2") Send(" javascript:openMediaPlayer('MediaPlayer','','');{ENTER}") Sleep(5000) WinClose($handle) WinWaitActive($playertitle) WinWait("AutoFill - RoboForm") ControlClick("AutoFill - RoboForm", "", "Button2") WinActivate($playertitle) Send("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}") 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