Jump to content

Launch the Sirius Player

Recommended Posts

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")
$handle = WinGetHandle($ietitle)
ControlClick($handle, "", "Edit2")
ControlClick($handle, "", "Edit2")
Send(" javascript:openMediaPlayer('MediaPlayer','','');{ENTER}")
WinWait("AutoFill - RoboForm")
ControlClick("AutoFill - RoboForm", "", "Button2")
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...