My name is Brian and I live in the south west of the UK.
I'm a happy/new iMacros user - Firefox plugin - and I am extremely impressed with its functionality - and price...FREE! YAY!
I have a particular problem that I hope someone can give me some advise on please.
I have written a macro that takes information from a .csv file and loops - [Play (Loop)] - 100 times.
The .csv file has 100 lines in three columns, and I would like my script to run 30 times and then 'Pause' for an allotted [Random?] time and then 'Continue'.
Here is a sample piece of code that I am using:
Code: Select all
VERSION BUILD=8920312 RECORDER=FX
TAB T=1
TAB CLOSEALLOTHERS
SET !VAR1 EVAL("var randomNumber=Math.floor(Math.random()*148.27 + 130.27); randomNumber;")
SET !VAR2 EVAL("var randomNumber=Math.floor(Math.random()*8.27 + 5.27); randomNumber;")
SET !DATASOURCE_DELIMITER ;
SET !DATASOURCE aaa.csv
SET !DATASOURCE_COLUMNS 3
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=https://myhostingprovider.uk/index.cgi
WAIT SECONDS={{!VAR2}}
TAG POS=1 TYPE=A ATTR=HREF:/install.cgi?install=ascript&&TITLE:A<SP>SCRIPT
WAIT SECONDS={{!VAR2}}
VARIOUS OTHER LINES OF CODE
WAIT SECONDS={{!VAR2}}
URL GOTO=https://www.google.co.uk
WAIT SECONDS={{!VAR1}}
I have had a good look through this forums search engine and on the web, but honestly can't find a solution to my problem. I suspect that the answer lies with the use of Visual Basic, but .vb etc is not my forte and I don't have 10 years - or even 6 months - of spare time to educate myself enough to solve this problem for my self.
If someone would be kind enough to help me out with this particular problem, I feel sure that it would not only assist me, but other people wishing to do the same thing.
Many thanks in advance....