Search found 190 matches

by josephconlin
Wed Jul 31, 2013 7:41 pm
Forum: iMacros for Firefox
Topic: Choosing multiple csv as datasource and looping
Replies: 2
Views: 2427

Re: Choosing multiple csv as datasource and looping

Hey guys. I'm very new at coding macros, I tried to create a macro but I just couldn't handle it. Here's the thing: Since I know we can fetch data from csv files column by column, can't we use different looping methods for each column? What I'm trying to do is; column#1 website1 website2 website3 w...
by josephconlin
Mon Nov 16, 2009 10:59 pm
Forum: iMacros for Firefox
Topic: Help for Random Wait Time.
Replies: 23
Views: 14783

Re: Help for Random Wait Time.

Actually, JavaScript is a 'C' style language, where all commands are terminated by a semi colon, except for block syntax that combines multiple lines into 1. What happened above var i=1; for (i=1;i<=3;i++) iret = iimSet("randomWait", Math.floor((Math.random()*160)+100).toString() ); iret ...
by josephconlin
Mon Nov 16, 2009 10:46 pm
Forum: iMacros for Firefox
Topic: List of URL destinations.
Replies: 1
Views: 1667

Re: List of URL destinations.

Can I create a script that will allow me to pick one of 3 URL's to go to. I don't know if it can be done in in iMacro for FF. Also, I can't find "imacro.exe" anywhere. Is this program reserved for the Scripting and Pro versions? 1) How do you want to pick the 1 of 3 URLs to go to? Are you...
by josephconlin
Mon Nov 16, 2009 10:40 pm
Forum: iMacros for Firefox
Topic: Avoiding javascript dialogue box on error?
Replies: 3
Views: 2948

Re: Avoiding javascript dialogue box on error?

I am trying to go back to previous page when there is an error (an image is not found): iimPlay ("CODE: SET !ERRORIGNORE YES"); retcode = iimPlay("CODE: TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME:dlf ATTR=SRC:http://someSite.com/img/someImage.jpg"); if (retcode < 0) { // an error has ...
by josephconlin
Fri Nov 13, 2009 4:47 pm
Forum: iMacros for Firefox
Topic: Help for Random Wait Time.
Replies: 23
Views: 14783

Re: Help for Random Wait Time.

Hey guys. :) Thanx for your assistance. Now i have another problem. It seems like the randomWait.js only runs once. It goes through the macro and then stops after executing the macro. But i need it to run X number of times. I know there is some looping code for JS, that i need to use. But how do i ...
by josephconlin
Thu Nov 12, 2009 4:51 pm
Forum: iMacros for Firefox
Topic: Firefox hangs and uses 50% CPU on exit
Replies: 15
Views: 12756

Re: Firefox hangs and uses 50% CPU on exit

I am using javascript to call multiple imacros in a certain order. If a mistake is made, or the macros report an error, javascript will call another macro, in an endless loop... I wondered if that was the case, but earlier the original poster had said no macros were running so I assumed that this w...
by josephconlin
Thu Nov 12, 2009 4:37 pm
Forum: iMacros for Firefox
Topic: Help for Random Wait Time.
Replies: 23
Views: 14783

Re: Help for Random Wait Time.

Just do this: - iret = iim1.iimSet("myvar", Math.floor((Math.random()*300)+60).toString() ); but give your variable a useful name like "randomWait" iret = iim1.iimSet("randomWait", Math.floor((Math.random()*300)+60).toString() ); WAIT SECONDS={{randomWait}} I tried mak...
by josephconlin
Mon Nov 02, 2009 7:29 pm
Forum: iMacros for Firefox
Topic: iMacros syntax questions!
Replies: 7
Views: 4303

Re: iMacros syntax questions!

How can I make text in blue, or any other color?L Are you asking for the HTML code to change a text's color? Then please cf. http://www.w3.org/TR/html4/types.html#h-6.5 No, I just want to change some text color and I don't know how to do this. if it's by HTML, how and where do I enter HTML. Please ...
by josephconlin
Tue Oct 20, 2009 5:35 pm
Forum: iMacros for Firefox
Topic: Play regardless of URL?
Replies: 3
Views: 2405

Re: Play regardless of URL?

How do I make a macro run on the current page regardless of URL? TIA!! If you have a line in your macro similar to this: URL GOTO=http://www.iopus.com/download that command will take you to whatever the website is after GOTO=. You can remove that line to make the macro run on whatever the current p...
by josephconlin
Thu Oct 08, 2009 6:50 pm
Forum: iMacros for Firefox
Topic: [BUG?] Javascript getElementById()
Replies: 6
Views: 10195

Re: [BUG?] Javascript getElementById()

This Problem still exists with VERSION BUILD=6240709 RECORDER=FX Try the simple example in Post #2 These two forum posts might help. http://forum.imacros.net/viewtopic.php?f=11&t=7545 http://forum.imacros.net/viewtopic.php?f=11&t=7609 It appears to me that you need to use the content object...
by josephconlin
Thu Oct 08, 2009 6:23 pm
Forum: iMacros for Firefox
Topic: Relative Tag Position can't find child elements within Tag
Replies: 7
Views: 7226

Re: Relative Tag Position can't find child elements within Tag

Update: the iMacros browser behaves differently, here. There, the initial (opening) tag is handled as the anchor, so R1 does reach elements inside the anchor. The developers will need to put the FF back in sync with the iMacros browser. Well, I guess I'll have to rewrite some of my scripts then. Oh...
by josephconlin
Mon Oct 05, 2009 8:22 pm
Forum: iMacros for Firefox
Topic: Relative Tag Position can't find child elements within Tag
Replies: 7
Views: 7226

Re: Relative Tag Position can't find child elements within Tag

The HTML snipped you posted is not enough to reproduce this issue, I'm afraid. Can you send us a complete copy of that site, or at least some part that we can test your macros on? Hi Hannes. I have noticed the same issue - when I use a TAG command, I cannot reference anything nested inside of that ...
by josephconlin
Tue Sep 22, 2009 6:10 pm
Forum: iMacros for Firefox
Topic: Possible bug in FF plugin with FF 3.5.x on money.cnn.com
Replies: 1
Views: 1837

Possible bug in FF plugin with FF 3.5.x on money.cnn.com

It seems that I frequently (but not always) get an error in FF 3.5.x with iMacros 6.2.4.0 when I visit http://money.cnn.com . When it happens, it seems that I can view the page normally for about 5 to 10 seconds, and then I start getting warnings from FF about a script that is either running long or...
by josephconlin
Sun Sep 20, 2009 11:24 pm
Forum: iMacros for Firefox
Topic: URL Extract Problem
Replies: 7
Views: 7539

Re: URL Extract Problem

Thanks a lot josephconlin. It's working smoothly. I have a little question : How can i get ride of those spaces between links ? http://www.gumtree.com/london/54/43000054.html http://www.gumtree.com/london/54/43000054.html http://www.gumtree.com/london/43/44555243.html Thanks A Million :) Here's an ...
by josephconlin
Fri Sep 18, 2009 4:10 pm
Forum: iMacros for Firefox
Topic: LOOP
Replies: 21
Views: 35696

Re: LOOP

Hello, No problem, I deleted the other one. To your question: Can i define the number of times i want a scrip to repeat it self in side the macro file (iim file)? No, you just have the option on the user interface ("Repeat Macro/Max:"). The other option is to write a script that can call ...