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 DOWNLOAD"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:!TIMEOUT_DOWNLOAD}} | {{DISPLAYTITLE:!TIMEOUT_DOWNLOAD}} | ||
− | Set the file download timeout in seconds. If the file download is not completed by that time, the macro will exit with an error. This is by default equal to [[!TIMEOUT_PAGE]] but can be set independently. The WAIT parameter in the ONDOWNLOAD command should be set to YES (WAIT=YES). | + | Set the file download timeout in seconds. If the file download is not completed by that time, the macro will exit with an error. This is by default equal to [[!TIMEOUT_PAGE]] when using the iMacros browser or iMacros for IE and 300 seconds in iMacros for Chrome and Firefox, but it can also be set independently. The WAIT parameter in the ONDOWNLOAD command should be set to YES (WAIT=YES). |
− | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]]=== | + | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]]=== |
Integer > 0 that gives the number of seconds a file may take to be completely downloaded. | Integer > 0 that gives the number of seconds a file may take to be completely downloaded. | ||
− | Default is | + | [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] Default is [[!TIMEOUT_PAGE]].<br> |
+ | [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]] Default is 300 seconds. | ||
=== Set By === | === Set By === |
Revision as of 13:21, 8 January 2019
Set the file download timeout in seconds. If the file download is not completed by that time, the macro will exit with an error. This is by default equal to !TIMEOUT_PAGE when using the iMacros browser or iMacros for IE and 300 seconds in iMacros for Chrome and Firefox, but it can also be set independently. The WAIT parameter in the ONDOWNLOAD command should be set to YES (WAIT=YES).
Value
Integer > 0 that gives the number of seconds a file may take to be completely downloaded.
Default is !TIMEOUT_PAGE.
Default is 300 seconds.
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
' exit with error, if file download takes longer than 15 seconds SET !TIMEOUT_DOWNLOAD 15
See Also
Timeouts Overview, !TIMEOUT_MACRO, !TIMEOUT_PAGE, ONDOWNLOAD