!TIMEOUT_DOWNLOAD

From iMacros
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 =!TIMEOUT_PAGE but can be set independently. The WAIT parameter in the ONDOWNLOAD command should be set to YES (WAIT=YES).

Value iMacros Browser IE Plug-in

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

Default is 60.

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