Search the Community
Showing results for tags 'pop up'.
Found 1 result
Hi Im looking to open a web site in internet explorer. Sometimes though other pop up windows appear and interfere. In Internet explorer for example a pop up "Welcome to Internet Explorer 8" will occur and this throws things off as I want to send text into web page after it opens. To counter this I am running internet explorer with extensions off to stop these windows from appearing but with mixed success. I need to be certain I can open internet explorer and search this web page, and send/enter a string of text into that web page. withot other Internet explorer sub windows throwing things off., In the below example I am reading a sting of text from a text file and entering it into internet explorer. This works sometimes and not others due to unforeseen windows spawining. If you know anything drop me a line Thanks Confuseis #include <array.au3> #include <file.au3> #include <MsgBoxConstants.au3> run("C:\Program Files\Internet Explorer\iexplore.exe -extoff -noframemerging https://some.website.com") ; read the username from the preexisting text file Local Const $sFilePath = "\scripts\TextInput.txt" Local $hFileOpen=FileOpen($sFilePath, $FO_Read) Local $sFileRead=FileReadLine($hFileOpen, 1) FileClose($hFileOpen) Sleep(2000) Send($sFileRead)