!VAR0...!VAR9

From iMacros
(Redirected from !VAR1)
Jump to navigation Jump to search

Standard built-in variables for arbitrary use.

Value iMacros Browser Firefox Chrome

Any number, character or series of characters.

Set By

[ ] Internal

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

SET !VAR0 {{!URLCURRENT}}
SET !VAR1 myDearFriend
SET !VAR2 {{!EXTRACT}}
SET !VAR3 "{{!VAR1}} extracted {{!VAR2}} from page {{!VAR0}}"

Notes

  1. iMacros for Chrome Chrome only supports !VAR1, !VAR2, and !VAR3.
  2. When you reference the value of a !VARx variable (or any other iMacros variable), remember to enclose it in double braces as shown below.
TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:loginbox ATTR=ID:pass CONTENT={{!VAR1}}

See Also

ADD, iimSet, iimGetExtract, User defined variables