- Mar 22, 2013
- 8,706
- 10,271
Guys I need help with something that should be very simple. I'm using iMacros 8.9.7 with Firefox.
I have a script, say:
do action 1
do action 1
do action 1
do action 1
do action 1
Now, say it does this 30 times (30 lines) for the month. But next month I want to change it to "do action 2"
Instead of having to edit 30 lines of code, I wanna make it something like:
SET !VAR1 EVAL("1")
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
And then I can just edit the first line and change the number when I need.
I could probably explain this better, but you know what I'm talking about.
How can I do this?
I have a script, say:
do action 1
do action 1
do action 1
do action 1
do action 1
Now, say it does this 30 times (30 lines) for the month. But next month I want to change it to "do action 2"
Instead of having to edit 30 lines of code, I wanna make it something like:
SET !VAR1 EVAL("1")
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
do action {{!VAR1}}
And then I can just edit the first line and change the number when I need.
I could probably explain this better, but you know what I'm talking about.
How can I do this?