ShellExecute("chrome.exe", "http://www.cboe.com/delayedquote/quote-table-download ") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : ShellExecute("chrome.exe", "http://www.cboe.com/delayedquote/quote-table-download ") = ' & ShellExecute("chrome.exe", "http://www.cboe.com/delayedquote/quote-table-download ") & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console Sleep (2000) #include AutoItSetOption("WinTitleMatchMode", $OPT_MATCHANY) ;2 WinActivate("[Quote Table Download - Google Chrome: - Google Chrome;CLASS:Chrome_WidgetWin_1]") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : WinActivate("[Quote Table Download - Google Chrome;CLASS:Chrome_WidgetWin_1]") = ' & WinActivate("[Quote Table Download - Google Chrome;CLASS:Chrome_WidgetWin_1]") & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console If WinActive("Quote Table Download - Google Chrome", "") Then ControlSend("Quote Table Download - Google Chrome","","txtTicker", "A") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : ControlSend("Quote Table Download - Google Chrome","","txtTicker", "A") = ' & ControlSend("Quote Table Download - Google Chrome","","txtTicker", "A") & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console Else MsgBox(0, "Result", "Not active.") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : MsgBox(0, "Result", "Not active.") = ' & MsgBox(0, "Result", "Not active.") & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console EndIf