The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "!TIMEOUT"
Line 5: | Line 5: | ||
Any integer. | Any integer. | ||
+ | |||
+ | |||
+ | Note: Use of timeout when looking for the element defined by [[TAG]], [[IMAGESEARCH]] or [[IMAGECLICK]]: | ||
+ | There are '''two''' kinds of timeouts used by iMacros: | ||
+ | |||
+ | * 1. iMacros waits for the page to load completey (up to !TIMEOUT seconds, default is 60s). | ||
+ | * 2. After the page is loaded, iMacros checks for the element on the page. If the element is not found, it waits one second and then '''re-checks the page'''!. It does this until the '''TAG timeout''' value is reached. It is always 1/10 of the regular timeout (default is 6s). So if you increase the regular timeout to 360s, the TAG timeout will be 36s. | ||
=== Set By === | === Set By === |
Revision as of 15:58, 18 March 2009
Sets the timeout value in seconds. If a website, which is requested by clicking a link or using the URL command, does not load with in the amount of seconds given by !TIMEOUT, an error is generated. Overrides the Internet macro default value. The default timeout is 60s. The !LOADCHECK value is automatically 1/10th of the timeout value.
Value
Any integer.
Note: Use of timeout when looking for the element defined by TAG, IMAGESEARCH or IMAGECLICK:
There are two kinds of timeouts used by iMacros:
* 1. iMacros waits for the page to load completey (up to !TIMEOUT seconds, default is 60s). * 2. After the page is loaded, iMacros checks for the element on the page. If the element is not found, it waits one second and then re-checks the page!. It does this until the TAG timeout value is reached. It is always 1/10 of the regular timeout (default is 6s). So if you increase the regular timeout to 360s, the TAG timeout will be 36s.
Set By
[ ] Internal
[X] SET
Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.
Examples
To wait 180 seconds before timing out (default: 60 seconds), use the following command
SET !TIMEOUT 180