set
(Copy URL in PhpBB Forum Format - Info)From iMacros
Defines the value of a variable. The SET command supports the built-in variables and !VAR1, !VAR2, !VAR3.
You can use any variable as input for SET, e. g. SET !VAR1 {{myvariable}} or SET !EXTRACT {{!COL1}}.
Note: You can not use SET to assign values to user-defined variables such as {{myvariable}}. These variables are defined with iimSet within a script.
Contents |
Syntax

SET var value
Parameters
- var
- One of the built-in variables or !VAR1, !VAR2, !VAR3
- value
- The value that will be added to var
Examples
Set a variable with spaces:
SET !VAR1 Hello<SP>World => Content of !VAR1 is "Hello World".
or (Firefox):
SET !VAR1 "Hello World"
Use "\" (Backslash) to escape reserved characters like "\" itself inside quoted values:
SET !FOLDER_STOPWATCH "c:\\Temp\\With Spaces"
Set a numerical value
SET !TIMEOUT 360 => The new timeout value is 360 seconds (5 minutes).
