#PageSynchroLevel
System variable - Web function
The #PageSynchroLevel system variable allows a loose way to check the ready status of a Web page or an HTML element.
Usage
Always use the default value, and if on one specific page, a UsePage fails whereas the specified page seems fully loaded, then experiment the #PageSynchroLevel = 1.
Syntax
#PageSynchroLevel = 0
or
#PageSynchroLevel = 1Remarks
If #PageSynchroLevel=0 (default value), at execution of any WinTask Web function which uses a synchronization, the HTML element or Web page to wait for, is seen ready for an action by a WinTask Web function only if the Document readystate property is complete AND if the Browser readystate is complete.
If #PageSynchroLevel=1, at execution of any WinTask Web function which uses a synchronization, the HTML element or Web page to wait for, is seen ready for an action by a WinTask Web function if the Document readystate property is interactive (or complete) AND if the Browser readystate is interactive (or complete).
Interactive means : has loaded enough and the user can interact with it.
Complete means : fully loaded.