I'm working on this particular website that's like ebay where you list your items for sale. I have three IIMs. Loginiim, listitemsiim, and logoutiim.
The listitemsiim pulls the data from a csv file I created. Right now because I can't find a automated process on how to do repeat automatically, I'm having to select how many times to repeat the current macro by using the iMacros toolbar on Firefox and click on Play (Loop).
I want to completely automate the whole process of logging in, listing the items, and log out.
I've written a simple javascript below:
Code: Select all
retcode = iimPlay("login");
for (i = 0; i <50; i++) {
retcode = iimPlay("listitemsiim");}
retcode = iimPlay("logoutiim");
Code: Select all
SET !DATASOURCE C:\myitems.csv
SET !DATASOURCE_COLUMNS 18
SET !DATASOURCE_LINE {{!LOOP}}
Please help me if you can for free or give me a quote with a solution. I'll be very happy if you can teach me few tricks also (like how to make the script wait random amount of minutes so that it doesn't seem like i'm using something to automate my listing).
Thank you, and if you need any more details, please let me know.