The behaviour of the iMacros Browser (included in PRO and Enterprise Edition) can be controlled by so-called command line switches. These are key/value pairs added after the call to the iMacros main executable. These pairs start with a dash (-) and are separated by a whitespace.
If values include whitespaces, please use the [SP] command to escape them. Linebreaks in command line options are escaped by the [BR] command.
datasource file_name
Specifies the location and name of the datasource file.
loop max_loop
Specifies the number of times the macro will be looped.
macro macro_name
Specifies the name of the macro to replay.
noexit
Determines whether iMacro Browser is closed after replay.
silent
Specifies if the iMacros Browser is run in silent mode.
timeout seconds
Specifies the overall timeout value.
tray
Specifies if the iMacros Browser is run in tray mode.
useragent some_user_agent
Specifies the user agent.
var_varname value
Assigns a value to the variable varname.
var1 value
Assigns a value to the built-in variable !VAR1.
var2 value
Assigns a value to the built-in variable !VAR2.
var3 value
Assigns a value to the built-in variable !VAR3.
Page URL http://www.iopus.com/imacros/help/commandlineswitches.htm