got it,
just need to insert
iimSet('myloop', i);
before every macros
Search found 23 matches
- Mon Dec 16, 2013 5:34 pm
- Forum: iMacros for Firefox
- Topic: Looping .csv file with Java-multiple macros
- Replies: 1
- Views: 1409
- Mon Dec 16, 2013 3:15 pm
- Forum: iMacros for Firefox
- Topic: Looping .csv file with Java-multiple macros
- Replies: 1
- Views: 1409
Looping .csv file with Java-multiple macros
Hi guys, Can you help? I was wondering if there's a way to loop trough multiple macros using 1st row, and then start again using datda from row 2 in .csv file? I am using: for (i = 0; i < 142; i++) { iimSet('myloop', i); iimPlay("JAVASCRIPTTEST/COSMO.iim"); } if (y = 1) {iReturnCode = iimP...
- Wed Dec 11, 2013 12:23 pm
- Forum: iMacros for Firefox
- Topic: Feature Requests & Bug Fix Requests. ADD YOURS!
- Replies: 363
- Views: 4582006
Re: Feature Requests & Bug Fix Requests. ADD YOURS!
Can you add a simple command for Macros to jump to a certain line in iMacros editor?
ex. jump to line=29
this would allow to skip some parts of script based on conditional statements
Pchelak
ex. jump to line=29
this would allow to skip some parts of script based on conditional statements
Pchelak
- Tue Dec 10, 2013 4:02 pm
- Forum: iMacros for Firefox
- Topic: Imacros action depending on data from the csv file
- Replies: 8
- Views: 4378
Re: Imacros action depending on data from the csv file
Did it! Here's the result: SET !VAR1 EVAL("if (\"{{!COL3}}\" == \"WORD1\") {var x = 0;} else {var x = 1;} x;") SET !ERRORIGNORE YES TAG POS={{!VAR1}} TYPE=TEXTAREA FORM=NAME:aspnetForm ATTR=NAME:Hereiswebsiteelementname CONTENT="Welcome" SET !ERRORIGNORE NO Th...
- Tue Dec 10, 2013 1:51 pm
- Forum: iMacros for Firefox
- Topic: How to get iMacros to save URL if Page Load Timeout
- Replies: 4
- Views: 2767
Re: How to get iMacros to save URL if Page Load Timeout
Hello,
Your idea sound very good. But it sounds so complicated and I think it might require Javascripting? Do you have any example I can use/adjust?
Pchelak
Your idea sound very good. But it sounds so complicated and I think it might require Javascripting? Do you have any example I can use/adjust?
Pchelak
- Tue Dec 10, 2013 1:48 pm
- Forum: iMacros for Firefox
- Topic: Imacros action depending on data from the csv file
- Replies: 8
- Views: 4378
Re: Imacros action depending on data from the csv file
Thanks chivracq!
that's good idea. Let me see if I can figure out how to do it...
Pchelak
that's good idea. Let me see if I can figure out how to do it...
Pchelak
- Thu Dec 05, 2013 11:40 am
- Forum: iMacros for Firefox
- Topic: Imacros action depending on data from the csv file
- Replies: 8
- Views: 4378
Re: Imacros action depending on data from the csv file
Thanks Petr!
Is there an easy way to use coding in iMacros to achieve that?
Pchelak
Is there an easy way to use coding in iMacros to achieve that?
Pchelak
- Thu Dec 05, 2013 11:39 am
- Forum: iMacros for Firefox
- Topic: How to get iMacros to save URL if Page Load Timeout
- Replies: 4
- Views: 2767
Re: How to get iMacros to save URL if Page Load Timeout
I see... Thank you for your help! I have one more question: If asking iMacros to access URL of which part is a data from CSV file: ex. URL GOTO=http://www.facebook/profile{{!COL3}}.com Can iMacros save/mark {{!COL3}} data for all pages that could not be loaded? Or accessing it from profiler report i...
- Thu Dec 05, 2013 10:19 am
- Forum: iMacros for Firefox
- Topic: Imacros action depending on data from the csv file
- Replies: 8
- Views: 4378
Re: Imacros action depending on data from the csv file
Hi Chivracq,
Thank you for your reply,
What I actually need is iMacros to execute command if text=WORD in {{COL3}}, if anything else found iMacros would ignore it.
Do you think it's feasible?
Pchelak
Thank you for your reply,
What I actually need is iMacros to execute command if text=WORD in {{COL3}}, if anything else found iMacros would ignore it.
Do you think it's feasible?
Pchelak
- Wed Dec 04, 2013 2:30 pm
- Forum: iMacros for Firefox
- Topic: How to get iMacros to save URL if Page Load Timeout
- Replies: 4
- Views: 2767
How to get iMacros to save URL if Page Load Timeout
Oh hello, great that you're here as I need you help!
Do you know easy way to get iMacros to save URL if website is not loading?
I tried to find a way myself but my knowledge of Java is very limited and there's not such topic yet on this forum.
Do you think you can help?
Pchelak
Do you know easy way to get iMacros to save URL if website is not loading?
I tried to find a way myself but my knowledge of Java is very limited and there's not such topic yet on this forum.
Do you think you can help?
Pchelak
- Wed Dec 04, 2013 10:37 am
- Forum: iMacros for Firefox
- Topic: Imacros action depending on data from the csv file
- Replies: 8
- Views: 4378
Imacros action depending on data from the csv file
Hello,
I was wondering if there's a way for iMacros to behave in a certain way depending on the data in csv file.
For example if data in {{COL3}} = WORD iMacros would do TAG command. And if there was anything else in the {{COL3}} iMacros would ignore it.
All help greatly appreciated!
Pchelak
I was wondering if there's a way for iMacros to behave in a certain way depending on the data in csv file.
For example if data in {{COL3}} = WORD iMacros would do TAG command. And if there was anything else in the {{COL3}} iMacros would ignore it.
All help greatly appreciated!
Pchelak
- Tue Aug 06, 2013 2:58 pm
- Forum: iMacros for Firefox
- Topic: Challenge: Filling in form that changes constantly.
- Replies: 19
- Views: 8184
Re: Challenge: Filling in form that changes constantly.
Fantastic!!! garyst1981 - thank you for all the tips and help bobis - script works great!! Thank you so much for your help!! You are the best!! I have one more question regarding TAG command: TAG POS=1 TYPE=TD ATTR=TXT:2<SP>(170).<SP>GSO<SP>QUESTION<SP>Mapping<SP>to<SP>filters:* EXTRACT=HTM Original...
- Mon Aug 05, 2013 11:21 am
- Forum: iMacros for Firefox
- Topic: Challenge: Filling in form that changes constantly.
- Replies: 19
- Views: 8184
Re: Challenge: Filling in form that changes constantly.
sorry, this is how the script looks like: VERSION BUILD=8300326 RECORDER=FX TAB T=1 TAB CLOSEALLOTHERS URL GOTO=website I am using TAG POS=1 TYPE=TD ATTR=TXT:2<SP>(170).<SP>GSO<SP>QUESTION<SP>Mapping<SP>to<SP>filters:* EXTRACT=HTM var index,index2,result; var ex=iimGetLastExtract(1); index=ex.indexO...
- Mon Aug 05, 2013 9:54 am
- Forum: iMacros for Firefox
- Topic: Challenge: Filling in form that changes constantly.
- Replies: 19
- Views: 8184
Re: Challenge: Filling in form that changes constantly.
Thanks for help bobis, Unfortunately it returns SyntaxError: unknown command: VAR, line: 6 (Error code: -910). I am using IMacros for Firefox 8.3.0. Also I checked the script in JSLint, added some spaces (not sure if that was needed) and got the same result. From what I checked these commands are va...
- Sun Aug 04, 2013 1:06 pm
- Forum: iMacros for Firefox
- Topic: Challenge: Filling in form that changes constantly.
- Replies: 19
- Views: 8184
Re: Challenge: Filling in form that changes constantly.
Thanks for trying! Maybe anyone else will know how to cut/short text from HTM EXTRACT? i need from: <td style="border-color: rgb(0, 0, 255); border-width: 2px; border-style: solid;" rowspan="1" class="QuestionColumn"><label title="" oldtitle="<p>You MUST ...