Anyone has any clues on how to create an IE object, but with private browsing?
This is a part of a much larger (700 lines) prog to test a website and it makes one critical error.
If the program is interrupted while checking the logged in part of the website, it goes straight there as soon as it reloads after the fail.
I know i can setup the IE options to clean up on exit, but i'd like to make it independent of them.
I got this:
Code: Select all
ie := ComObjCreate("InternetExplorer.Application")
ie.Visible := True
WinActivate,% "ahk_id " hwnd:=ie.Application.Hwnd
ie.Navigate(PortalLink)
IEWait(ie){
while ie.busy || (ie.document && ie.document.readyState != "complete") || ie.readyState!=4
Sleep 10000
}
IEWait(ie)
Thanks in advance