Difference between revisions of "!DOWNLOADED SIZE"

From iMacros
Jump to: navigation, search
(Value iMacros Browser IE Plug-in)
 
Line 2: Line 2:
 
Contains the size in bytes of the downloaded file. It should be used at the point when the download is complete. For this purpose, use the variable after the command which triggers the download and make sure that the download timeout value ([[!TIMEOUT_DOWNLOAD]]) is long enough to cover the complete download time. The WAIT parameter in the [[ONDOWNLOAD]] command should be set to YES (WAIT=YES).
 
Contains the size in bytes of the downloaded file. It should be used at the point when the download is complete. For this purpose, use the variable after the command which triggers the download and make sure that the download timeout value ([[!TIMEOUT_DOWNLOAD]]) is long enough to cover the complete download time. 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:Cr-icon.png|Chrome]] ===  
  
 
Size in bytes of the downloaded file.
 
Size in bytes of the downloaded file.

Latest revision as of 13:45, 25 March 2020

Contains the size in bytes of the downloaded file. It should be used at the point when the download is complete. For this purpose, use the variable after the command which triggers the download and make sure that the download timeout value (!TIMEOUT_DOWNLOAD) is long enough to cover the complete download time. The WAIT parameter in the ONDOWNLOAD command should be set to YES (WAIT=YES).

Value iMacros Browser IE Plug-in Chrome

Size in bytes of the downloaded file.

Set By

[X] Internal

[ ] 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

Copy the downloaded file size in bytes to the !EXTRACT built-in variable:

ADD !EXTRACT {{!DOWNLOADED_SIZE}}

Display the content of the built-in variable:

ONDOWNLOAD FOLDER=* FILE=* WAIT=YES
TAG POS=3 TYPE=A ATTR=TXT:Download 
PROMPT {{!DOWNLOADED_SIZE}}

See Also

ONDOWNLOAD, !DOWNLOADED_FILE_NAME, !TIMEOUT_DOWNLOAD, ADD, !EXTRACT