Search found 108 matches

by skippyto
Fri Oct 03, 2014 6:49 am
Forum: iMacros for Firefox
Topic: Need help for a script
Replies: 2
Views: 822

Re: Need help for a script

Hi wiilcorrea, Yes it's possible if you are calling your iim from a js. In that case you can extract the name of the button at the end of your iim macro (http://wiki.imacros.net/TAG#The_EXTRACT_Parameter). Then eval it in the js in a if condition with iimGetExtract (http://wiki.imacros.net/iimGetExt...
by skippyto
Fri Oct 03, 2014 6:36 am
Forum: iMacros for Firefox
Topic: Loop imacros and csv with javascript
Replies: 12
Views: 12576

Re: Loop imacros and csv with javascript

Hi lumer8 Just use a for loop in your javascript : for (csvLine = 1 ; csvLine <= 5 ; csvLine++) { iimSet ("-var_CSVLINE", csvLine); iimPlay("Dummy1.iim"); iimSet ("-var_CSVLINE", csvLine); iimPlay("Dummy2.iim"); iimSet ("-var_CSVLINE", csvLine); iimPlay("Dummy3.iim"); iimSet ("-var_CSVLINE", csvLine...
by skippyto
Fri Oct 03, 2014 6:15 am
Forum: iMacros for Firefox
Topic: Wait: "top frame is completely loaded" and ajaxy sites
Replies: 7
Views: 4466

Re: Wait: "top frame is completely loaded" and ajaxy sites

Hi mtlpatente, You can play with the !TIMEOUT_STEP parameter (http://wiki.imacros.net/!TIMEOUT_STEP) to set the time you want to wait for an ajax element. For example, ' Set the macro's global timeout in seconds. If the macro is not completed by that time, it will exit with an error. ' Exit with err...
by skippyto
Wed Oct 01, 2014 4:02 pm
Forum: iMacros for Firefox
Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
Replies: 363
Views: 336015

Re: Feature Requests & Bug Fix Requests. ADD YOURS!

Hi, I experiment some issues to follow some link with both 8.8.4 and 8.8.5 addons with both Firefox 31 and Firefox 32 on Win XP and Win 7 64 systems. Here are some examples : This URL GOTO=https://www.google.co.uk/?hl=en TAG POS=1 TYPE=INPUT:TEXT FORM=ID:gbqf ATTR=ID:gbqfq CONTENT=test TAG POS=1 TYP...
by skippyto
Wed Oct 01, 2014 2:43 pm
Forum: iMacros for Firefox
Topic: tag elements in frames with changing frame numbers
Replies: 11
Views: 5172

Re: tag elements in frames with changing frame numbers

Hi effykingly,

You can use PROMPT {{fnum}} to see what you have in your variable !

I won't be surprised if you read "undefined" as when you launch your macro for the first time, fnum is not set with iimSet...

You also can't launch anything with iimPlay("macro") in your while loop...

Skippyto
by skippyto
Wed Oct 01, 2014 2:18 pm
Forum: iMacros for Firefox
Topic: Load new tab without waiting for current to finish
Replies: 8
Views: 4770

Re: Load new tab without waiting for current to finish

Hi Rik, You are not so far, think using !ERRORIGNORE (http://wiki.imacros.net/ERRORIGNORE) and !TIMEOUT_PAGE (http://wiki.imacros.net/!TIMEOUT_PAGE) together instead of WAIT. !TIMEOUT_PAGE must be a positive integer, but it nearly does the job : ' --- OPTIONAL --- TAB CLOSEALLOTHERS ' --- MANDATORY ...
by skippyto
Mon Sep 29, 2014 9:56 am
Forum: iMacros for Firefox
Topic: Automatic <sp> and <br>
Replies: 1
Views: 605

Re: Automatic <sp> and <br>

Hi

Code: Select all

answer = answer.replace(/\ /g, "<SP>"); 
See http://www.w3schools.com/jsref/jsref_replace.asp for better understanding.

Skippyto.
by skippyto
Mon Sep 29, 2014 9:49 am
Forum: iMacros for Firefox
Topic: Loop an entire .js file
Replies: 12
Views: 5898

Re: Loop an entire .js file

Hi effykingly,

Just put your code in a javascript loop, too solutions depending on what kind of loop you want :

http://www.w3schools.com/js/js_loop_while.asp
http://www.w3schools.com/js/js_loop_for.asp

Skippyto.
by skippyto
Mon Sep 29, 2014 9:36 am
Forum: iMacros for Firefox
Topic: assign a built in variable to a scription variable?
Replies: 2
Views: 978

Re: assign a built in variable to a scription variable?

Hi Juliensohn, {{!var9}} and contains a Text ("(Please enter the words above)") is not some javascript. If you want to do it with iMacros (http://wiki.imacros.net/PROMPT) : SET !VAR9 "(Please enter the words above)" PROMPT {{!VAR9}} !VAR9 Or simplier PROMPT "(Please enter the words above)" !VAR9 The...
by skippyto
Mon Sep 29, 2014 9:12 am
Forum: iMacros for Firefox
Topic: SyntaxError: wrong format of URL command, line 3 (Error code
Replies: 2
Views: 2650

Re: SyntaxError: wrong format of URL command, line 3 (Error

Hi cteran224 Did you try to put the URL (https://polldaddy.com/poll/8336485/AG POS=1 TYPE=LABEL ATTR=TXT:Staples<SP>Boys<SP>Cross<SP>Country) you are using in your URL GOTO command in a browser to test its validity ? It really seems that you have a piece of a TAG command at the end of it. I've nothi...
by skippyto
Fri Sep 26, 2014 7:08 am
Forum: iMacros for Firefox
Topic: 8.8.4 & 8.8.5 addons infinite loop and freeze issues
Replies: 22
Views: 10520

Re: 8.8.4 & 8.8.5 addons infinite loop and freeze issues

I can't see any update about about those issues. So I've just made some other tests (FF 32.0.2, iMacros 8.8.5 on Win7 64 OS) Why this URL GOTO=https://www.google.co.uk/?hl=en TAG POS=1 TYPE=INPUT:TEXT FORM=ID:gbqf ATTR=ID:gbqfq CONTENT=test TAG POS=1 TYPE=BUTTON FORM=ID:gbqf ATTR=ID:gbqfb TAG POS=1 ...
by skippyto
Mon Sep 22, 2014 9:28 am
Forum: iMacros for Firefox
Topic: unhandled alert dialog detected
Replies: 1
Views: 1089

Re: unhandled alert dialog detected

Hi

You should use ONDIALOG or ONERRORDIALOG (depending on the kind of dialog box you have) just before your line 19 to handle the popup and interract with it.

http://wiki.imacros.net/ONDIALOG
http://wiki.imacros.net/ONERRORDIALOG

Skippyto.
by skippyto
Mon Sep 22, 2014 9:19 am
Forum: iMacros for Firefox
Topic: I can not get radio buttons to work with the VALUE field
Replies: 1
Views: 511

Re: I can not get radio buttons to work with the VALUE field

Hi magnetsa,

If you have only one TAG with the value you are searching for, you should use POS=1 !

Instead iMacros will search the 7th or 49th TAG that have the value.

Skippyto
by skippyto
Mon Sep 22, 2014 7:39 am
Forum: iMacros for Firefox
Topic: Firefox 32 broke CLEAR command
Replies: 22
Views: 11509

Re: Firefox 32 broke CLEAR command

Hi

I tried with the 8.8.5 version this morning and i still have the same issues.

Skippyto.
by skippyto
Mon Sep 22, 2014 7:38 am
Forum: iMacros for Firefox
Topic: 8.8.4 & 8.8.5 addons infinite loop and freeze issues
Replies: 22
Views: 10520

Re: 8.8.4 addon infinite loop and freeze issues

Hi

I tried with the 8.8.5 version this morning and i still have the same issues.

Skippyto.