The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Variables
iMacros supports 3 types of variables:
1. The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro.
2. Built-in variables. They contain certain values set by iMacros e. g. !URLCURRENT or define certain iMacros properties e. g. !TIMEOUT_PAGE. A special subset are the !COLn variables that are used to read data from CSV files. These variables cannot be set with iimSet or -var_varname, they can only be used with the SET macro command.
3. User-defined variables. They are defined in-macro using the SET command. They can also be passed into a macro from the command line using the -variables switch. Additionally, macro variables can be defined with iimSet when using the iMacros scripting interface (API) from a custom script/program and are used to send values to the macro. To get data from a macro to the calling script/program, use either iimGet or the iimGetLastExtract command and the !EXTRACT variable.