Command3r Posted August 25, 2013 Share Posted August 25, 2013 is there any command to wait if _IEAction is done?? e.g. [auotit] $oIE = _IECreate("http://www.autoitscript.com/forum/index.php") _IELoadWait($oIE) _IEAction($oIE, "back") ; wait after loading the previous page ; then a command [/autoit] Thanks. [font="arial, helvetica, sans-serif;"]Advice for you[/font][font="arial, helvetica, sans-serif;"]: [/font][u]Search[/u] before posting. [font="arial, helvetica, sans-serif;"] *********** Problem solved? if yes [/font][color=rgb(0,0,0);font-family:arial, helvetica, sans-serif;] *********[/color] [font="arial, helvetica, sans-serif;"]******* press "Mark Solved" button. *******[/font] Link to comment Share on other sites More sharing options...
Solution dragan Posted August 25, 2013 Solution Share Posted August 25, 2013 (edited) Correct me if I'm wrong, but there's no waiting when you're going BACK, because the previous page is being loaded up from memory. Anyway, if you're going back to the point where previous page is no longer in your memory, you can use _IELoadWait again: #include <IE.au3> $oIE = _IECreate("http://www.yahoo.com/") MsgBox(0, 'message', 'Yahoo loaded!') _IENavigate($oIE, "http://www.google.com/") MsgBox(0, 'message', 'Google loaded!') _IEAction($oIE, "back") _IELoadWait($oIE) MsgBox(0, 'message', 'Loaded previous page.' & @CRLF & @CRLF & "Press OK to close script.") _IEQuit($oIE) Edited August 25, 2013 by dragan Command3r 1 Link to comment Share on other sites More sharing options...
Command3r Posted August 25, 2013 Author Share Posted August 25, 2013 that's what i was looking for, thanks bro <3 [font="arial, helvetica, sans-serif;"]Advice for you[/font][font="arial, helvetica, sans-serif;"]: [/font][u]Search[/u] before posting. [font="arial, helvetica, sans-serif;"] *********** Problem solved? if yes [/font][color=rgb(0,0,0);font-family:arial, helvetica, sans-serif;] *********[/color] [font="arial, helvetica, sans-serif;"]******* press "Mark Solved" button. *******[/font] 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