Hey there,
I'm scripting a routine which opens and moves a lot of chrome-tabs on a Video-Wall. It uses the "Open-as-Popup" addon in Chrome to hide the browser-bar (therefore i cant usse IE).
On Some Sites a login is required. On Most of them i can use the "Title" information to figure out if the brwoser is already loged in or not because the login Page has another title than the target page.
Func Chrome_Boot()
Run("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe http://www.example1.de/page1")
Sleep (5000)
If WinExists ("loggedinTabName - Google Chrome","") Then
WinActivate("loggedinTabName - Google Chrome")
;do nothing
ElseIf WinExists ("NOTloggedinTabName - Google Chrome","") Then
WinActivate("NOTloggedinTabName - Google Chrome")
Send ("loginName{TAB}")
Send("loginPW{Enter}")
Else
MsgBox($MB_RETRYCANCEL, "Whoops", "something went wrong")
MyExit()
EndIf
Send ("!0")
WinMove ( "loggedinTabName", "", 3855, 729 , 1272 , 720 ,5 )
EndFunc
But on some sites when not logged in there only appears this Chrome-Popup:
Is there any Way i can check if this login Screen apears or not ?
Thanks in advance