!TIMEOUT_DOWNLOAD

From iMacros
Revision as of 16:21, 8 January 2019 by Td (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 iMacros Browser IE Plug-in Firefox Chrome

Integer > 0 that gives the number of seconds a file may take to be completely downloaded.

iMacros Browser IE Plug-in Default is !TIMEOUT_PAGE.
Firefox Chrome 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