How to make iMACROS Firefox plugin run every 2 minutes ?

iglow

Elite Member
Joined
Feb 20, 2009
Messages
2,254
Reaction score
870
So my question is simple - i made a macro and i want to make it autorun every 2 minutes, without me clickong on it. How to set up that [i suck at coding], can anybody help ?
 
I don't konw too much about iMacro, but I do think that automation is only available on the Scripting version. Do you have that?
 
I have no ideea what your script is doing but why don't you run the script in a loop, and just set the wait time to 2 minutes between the loops
 
WAIT SECONDS=120

an repeat the task code.this is a "manual approach"

where do u see the 'wait seconds' thing? is that option or somewhere in code? [if so where ;x]
 
I have no ideea what your script is doing but why don't you run the script in a loop, and just set the wait time to 2 minutes between the loops

that is what i want to do, i just dont see that 'wait time' option thats why im asking for help
 
just put WAIT SECONDS=120 in any place of your script code. You do not need scripting edition.

In your case, you should put this on the end of your script.
 
two options. wait seconds = 120 will work nice. or you can make a quick .vbs that start imacro and loads the file. insert that into services on windows and have that do it. first suggestion is easier.
 
Here is a code that you can use to make it randomly pick a wait time to run your loops without needing a vb script. I like to use random loops so that it looks more human when running.

Just put this at the bottom of your script, and it will randomly pick a wait time of 2 to 10 minutes. You can change the wait time to more or less by changing the numbers in the lo and hi field.

Code:
SET !EXTRACT NULL
SET !EXTRACT_TEST_POPUP NO
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm     
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=120
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=600
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random 
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT  
WAIT SECONDS={{!EXTRACT}}

Edit: I forgot to put " SET !EXTRACT NULL " in so I edited it.
 
Last edited:
thanx guys already solved :)
btw this random thing looks interesting
 
thanx guys already solved :)
btw this random thing looks interesting

Yeah I used the random numbers thing for creating profile's D.O.B. before I understood vb. I'm still learning it though, lol!
 
if anyone know, like

in csv file, i set column 1 as first name, column 2 as second name..

How do I randomize it so that imacros can choose which ever 1st name from different row in column 1,last name from different row column 2?
 
if anyone know, like

in csv file, i set column 1 as first name, column 2 as second name..

How do I randomize it so that imacros can choose which ever 1st name from different row in column 1,last name from different row column 2?

Vb would be so much better, but you can run the code below to randomly pick a cell in a csv. You can't however randomly pick a cell in row "A" and one in"B" I mean you could if you used 2 datasources.

Thats why a vb script would be the best way to go, if you do decide to use this code, put it right above yours.
Code:
SET !EXTRACT NULL
SET !EXTRACT_TEST_POPUP NO
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm     
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random 
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT  
SET !LOOP {{!EXTRACT}}

Oh, and make sure to change the high number to match the amount of lines your using in your csv.
 
Last edited:
go getta - how reliable is that site for grabbing randoms?

Reliable meaning?

It worked for me the whole time I used Imacros and I used it for many things. Like for a twitter tool I made, It would randomly pick a number 1 to 10 and extract the most popular topics and then post my messages.

Here is part of my twitter poster:

Code:
'Random Numbers'

'Start Random Numbers'

SET !VAR2 NULL
SET !EXTRACT NULL
SET !EXTRACT_TEST_POPUP NO
URL GOTO=http://www.graphpad.com/quickcalcs/randomN1.cfm     
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:low CONTENT=1
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:CFForm_1 ATTR=ID:hi CONTENT=10
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:CFForm_1 ATTR=NAME:Random
TAG POS=18 TYPE=TD ATTR=TXT:* EXTRACT=TXT
SET !VAR2 {{!EXTRACT}}
SET !EXTRACT NULL

'End of Random numbers'


'Start twitter Submit'

URL GOTO=http://twitter.com/
TAG POS=1 TYPE=SPAN ATTR=TXT:Sign<SP>in
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://twitter.com/sessions ATTR=ID:username CONTENT=Username
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:https://twitter.com/sessions ATTR=ID:password CONTENT=Password
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:signin ATTR=ID:signin_submit
[COLOR="Red"]TAG POS={{!var2}}[/COLOR] TYPE=A ATTR=CLASS:search_link&&TXT:*&&TITLE:*&&HREF:*&&NAME:* EXTRACT=TXT
TAG POS=1 TYPE=TEXTAREA FORM=ACTION:http://twitter.com/status/update ATTR=ID:status CONTENT={{!EXTRACT}}<SP>:<SP>Watch<SP>or<SP>Download<SP>{{!col1}}<SP>{{!var3}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:status_update_form ATTR=ID:update-submit
WAIT SECONDS=2

'End Twitter Submit'

I set {{!var2}} as the number extracted so that it would choose the popular topics by random. Use your imagination with random numbers and you can come up with a lot of cool Imacros.
 
Last edited:
If my csv file is a bunch of urls, how do i "goto a random datasourceline?

url goto ={{!var1}}
 
Back
Top