Gillboss Posted May 20, 2009 Share Posted May 20, 2009 how can i get the data of loading page in IE that existing in bottom of window?here is picture of what i mean:Thanks Link to comment Share on other sites More sharing options...
DaleHohm Posted May 20, 2009 Share Posted May 20, 2009 ProgressChange Eventhttp://msdn.microsoft.com/en-us/library/aa768347(VS.85).aspx Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Gillboss Posted May 20, 2009 Author Share Posted May 20, 2009 ProgressChange Eventhttp://msdn.microsoft.com/en-us/library/aa768347(VS.85).aspxi dont know how work with Dlls.. :S Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 20, 2009 Share Posted May 20, 2009 i dont know how work with Dlls.. :S You don't have to. Look up ObjEvent() in the help file: #include <IE.au3> ; ObjEvent example ProgressOn("Example", "Loading page...") $oIE=_IECreate(""); Create Internet Explorer application $SinkObject=ObjEvent($oIE,"IEEvent_","DWebBrowserEvents2"); Assign events to UDFs starting with IEEvent_ Sleep(1000) _IENavigate($oIE, "http://www.autoitscript.com") Sleep(3000) _IENavigate($oIE, "http://www.google.com") Sleep(3000) _IENavigate($oIE, "http://www.openoffice.org") Sleep(3000) ; one of many Internet Explorer Event Functions Func IEEvent_ProgressChange($Progress,$ProgressMax) $percent = Int( ($Progress * 100) / $ProgressMax ) If $percent >= 0 And $percent <= 100 Then ProgressSet ( $percent , $percent & " percent to go." , "loading web page" ) EndIf EndFunc Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Gillboss Posted May 20, 2009 Author Share Posted May 20, 2009 woohahaha cool thx =] Link to comment Share on other sites More sharing options...
Gillboss Posted May 20, 2009 Author Share Posted May 20, 2009 i have quetion, there is way that i can get the correct URL? because in my script, when i click submit, the address become different Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 20, 2009 Share Posted May 20, 2009 i have quetion, there is way that i can get the correct URL?because in my script, when i click submit, the address become differentLook up _IEPropertyGet() with "locationurl". You really should spend more time with the help file before you get much further with IE automation. Try out the example scripts for all the _IE* functions. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Gillboss Posted May 21, 2009 Author Share Posted May 21, 2009 ok i will, ty =] 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