Built-in Variables
Top  Previous  Next


Available built-in variables:

All built-in variables start with an exclamation mark and are all caps. Variables that you create via the command line or the Scripting Interface must not include an exclamation mark and are not case sensitive, which means, for example, that {{MyID}} is the same as {{myid}}.
All built-in variables are changed manually using the SET command.



!COLn
Specifies the column which is used for input.



!DATASOURCE
Specifies an input file for merging data with macro.



!DATASOURCE_COLUMNS
Specifies the number of columns in the input datasource.



!DATASOURCE_LINE
Specifies the line in the datasource which is used for input.



!DIALOGMANAGER
Activates or stops the Dialog Manager.



!ENCRYPTION
Specifies how to encrypt passwords you use in macros.



!ERRORIGNORE
Tells iMacros to ignore errors.



!ERRORMACRO
Overrides the global error macro setting in the Options dialog for the current macro.



!EXTRACT
Contains the extraction results.



!EXTRACT_TEST_POPUP
Toggles whether the extraction result in displayed during replay.



!EXTRACTADD
Adds (appends) a value to the extraction results.



!EXTRACTDIALOG
Extract information from a dialog.



!FILELOG 
Sets a specific log file name for the current macro.



!FILESTOPWATCH
Sets the file name for the file that contains the stopwatch measurement data.



!FOLDERIMACROS
Returns the folder from which the "imacros.exe" file was started ("Application Path").



!IMAGEX
This value contains the X-coordinate of the last image found with the
IMAGESEARCH or IMAGECLICK command.



!IMAGEY
This value contains the Y-coordinate of the last image found with the
IMAGESEARCH or IMAGECLICK command.



!LOADCHECK
Switches the LoadCheck on or off.



!LOOP 
Counts the current loop number in loop mode.



!MACROTIMEOUT
Specifies the maximal runtime for the entire macro.



!NOW
Contains the current time and date.



!POINTER
Disables or enables the pointer (blue frame) that marks the current position during a macro replay.



!REPLAYSPEED
Sets the replay speed.



!STOPWATCHTIME
Contains the last measured response time value.



!TIMEOUT
Sets the timeout value in seconds.



!URLCURRENT
Contains the current URL.



!URLSTART
Contains the URL that was active in the browser when the macro started.



!VAR1
One of the three standard built-in variables for arbitary use.



!VAR2
One of the three standard built-in variables for arbitary use.



!VAR3
One of the three standard built-in variables for arbitary use.



!VARDEFAULT
Holds a value which is assign automatically to all undefined variables.






Page URL http://www.iopus.com/imacros/help/built_invariables.htm