!LOOP
(LinkToClipboard)From iMacros
Counts the current loop number in loop mode. Especially useful together with the POS attribute of the TAG command. With SET !LOOP 3 you can set a start value for the loop counter (the default value is 1).
Note:
SET !LOOP n
is ignored for every loop run except the first one.
The variable {{!LOOP}} represents the current loop number when a script is running in loop mode.
Value
Any integer 1,2,3,4,5,....
Examples
Related example macros: Demo-Slideshow
Note: The {{!LOOP}} variable in the Demo-Slideshow example in iMacros for Firefox 6.0.1.5, and possibly other versions, is incorrectly shown in lowercase as {{!loop}}. This will not work and should be capitalized.
