Kurto2021 Posted August 10, 2011 Share Posted August 10, 2011 I used to use an app called Replay AV to record XM shows and listen to them at work but in the last couple months they have started encrypting the data stream so this no longer works. I can manually open their web page and login to listen but was hoping to get this automated. What I have done worked great for Firefox but doesn't work for IE. I figured I should make it work for IE since everyone has IE. Any help would be appreciated #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Channel = IniRead("C:\XM\XM.ini", "Channel", "key", "") $URL = IniRead("C:\XM\XM.ini", "URL", "key", "") $ID = IniRead("C:\XM\XM.ini", "ID", "key", "") $Pass = IniRead("C:\XM\XM.ini", "Pass", "key", "") #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 438, 359, 201) $CHInput = GUICtrlCreateInput($Channel, 32, 40, 57, 21) $Go = GUICtrlCreateButton("Go", 32, 128, 75, 25) if $URL = "" Then $URL = "http://www.siriusxm.com/player" EndIf $URLInput = GUICtrlCreateInput($URL, 32, 72, 329, 21) $IDInput = GUICtrlCreateInput($ID, 140, 40, 129, 21) $PassInput = GUICtrlCreateInput($Pass, 292, 40, 129, 21) OnAutoItExitRegister("ExitApp") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() $Channel = GUICtrlRead($CHInput, 0) $URL = GUICtrlRead($URLInput,0) $ID = GUICtrlRead($IDInput,0) $Pass = GUICtrlRead($PassInput,0) Switch $nMsg Case $go ShellExecute($URL) Sleep(5000) Send("{Tab}") Send("{Tab}") Send($ID) Send("{Tab}") Send($Pass) Send("{Tab}") Send("{Space}") Sleep(10000) Send("{Tab}") Send("{Tab}") Send($Channel) Send("{Enter}") Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func Exitapp() IniWrite("C:\XM\XM.ini", "URL", "key", $URL) IniWrite("C:\XM\XM.ini", "Channel", "key", $Channel) IniWrite("C:\XM\XM.ini", "ID", "key", $ID) IniWrite("C:\XM\XM.ini", "Pass", "key", $Pass) EndFunc ;==>OnAutoItExit Link to comment Share on other sites More sharing options...
wakillon Posted August 10, 2011 Share Posted August 10, 2011 object type="application/x-shockwave-flash" Flash can't be automated. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Kurto2021 Posted August 10, 2011 Author Share Posted August 10, 2011 object type="application/x-shockwave-flash"Flash can't be automated.I went ahead and just forced IE and then used the tabs to get myself where I needed to be and send key commands....it's working now but not the way I wanted to. 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