Esdir Posted March 5, 2015 Posted March 5, 2015 (edited) Hey guys, I have a source Like #include <FF.au3> _FFConnect() If _FFClick("formbuttons","Class") Then MsgBox(0,"Example","Example") EndIf MsgBox(0,"Example","Example") doesn't appear because the page is loading I want to add smth to stop loading like "ESC" or pasue " or stop or waitload like a sec then Notice : MsgBox(0,"Example","Example") appearing only when it stops loading ... I don't want to wait till it load i wanna stop it Edited March 5, 2015 by Esdir
Developers Jos Posted March 5, 2015 Developers Posted March 5, 2015 Are you going to do the same with this topic as you did with the previous? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Esdir Posted March 5, 2015 Author Posted March 5, 2015 (edited) No, and sorry i did a mistake, after all reading my post and i didn't get any help then i made new one do you have idea to do that ? Edited March 5, 2015 by Esdir
Developers Jos Posted March 5, 2015 Developers Posted March 5, 2015 No, and sorry i did a mistake, after all reading my post and i didn't get any help then i made new one That is the issue i have with your action. Please read our forum rules and be polite by waiting for people to respond instead of removing the post and starting a new thread. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jdelaney Posted March 5, 2015 Posted March 5, 2015 how about: ; #FUNCTION# =================================================================== ; Name ..........: _FFLoadWait ; Description ...: Wait while the page is loading. ; Beschreibung ..: Wartet bis die Seite geladen ist. ; AutoIt Version : V3.3.0.0 ; Syntax ........: _FFLoadWait([$iTimeOut = $_FF_LOADWAIT_TIMEOUT[, $bStop = $_FF_LOADWAIT_STOP]]) ; Parameter(s): .: $iTimeOut - Optional: (Default = $_FF_LOADWAIT_TIMEOUT) : Timeout while waiting in ms ; $bStop - Optional: (Default = $_FF_LOADWAIT_STOP) : Stops loading after TimeOut ; Return Value ..: Success - 1 ; @EXTENDED - loading time in ms ; Failure - 0 ; @ERROR - ; @EXTENDED - loading time in ms ; Author(s) .....: Thorsten Willert ; Date ..........: Sat Feb 26 17:17:09 CET 2011 @720 /Internet Time/ ; Link ..........: https://developer.mozilla.org/en/nsIWebProgress ; Related .......: _FFDialogWait ; Example .......: Yes ; ============================================================================== Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT, $bStop = $_FF_LOADWAIT_STOP) IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Esdir Posted March 5, 2015 Author Posted March 5, 2015 I don't know much about autoit, started learning it few days ago, just to tell you _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT, $bStop = $_FF_LOADWAIT_STOP) for example _FFLoadWait(1000,"Stop") or how i can type it right sorry for bad english
jdelaney Posted March 5, 2015 Posted March 5, 2015 There are default values...just this would be fine: _FFLoadWait() IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
water Posted March 6, 2015 Posted March 6, 2015 Esdir, please do yourself and us a favour and give meaningful titles to your threads. Everyone on this forum is searching for help When you post code, please enclose it in AutoIt code tags - that's the blue "A" button in the editor. This gives a nicely formatted and syntax highlighted code - much easier for us to read. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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