JS file help

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
mrjjman
Posts: 18
Joined: Mon Apr 11, 2016 5:41 am

JS file help

Post by mrjjman » Sat Jul 30, 2016 1:23 am

Here is my js code:
_______
var i, retcode;
for (i=0;i<=0;i++){
iimPlay("CNN2.iim");
iimPlay("CNN2.iim");
}
_______

And here is the CNN2 macro code:
VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !DATASOURCE JSTest.csv
SET !DATASOURCE_COLUMNS 7
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=https://www.google.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:q CONTENT={{!COL1}}

The problem is that the content isn't looping, so the list is 1, 2, 3, and so on, but it keeps using the first option and not looping to the next column number in the series, ie 2, 3, and so on. Any ideas? I need help with this ASAP, if anyone has any ideas!
chivracq
Posts: 8308
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: JS file help

Post by chivracq » Sat Jul 30, 2016 9:56 pm

mrjjman wrote:Here is my js code:
_______

Code: Select all

var i, retcode;
for (i=0;i<=0;i++){
iimPlay("CNN2.iim");
iimPlay("CNN2.iim");
}
_______

And here is the CNN2 macro code:

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !DATASOURCE JSTest.csv
SET !DATASOURCE_COLUMNS 7
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO=https://www.google.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:q CONTENT={{!COL1}}
The problem is that the content isn't looping, so the list is 1, 2, 3, and so on, but it keeps using the first option and not looping to the next column number in the series, ie 2, 3, and so on. Any ideas? I need help with this ASAP, if anyone has any ideas!
Yep..., ah-ah...! "ASAP", read the Forum Rules one day and follow up on your previous Threads, sorry...! (I asked you already several times...)
Some/All Threads of yours have been waiting for some "ASAP" Follow-up from your Side for up to 3 months..., oops...! :roll:
Your current Tread Title is a bit useless as well btw, try searching the Forum using "JS file help" for similar Threads..., well, good luck...! :idea:

EDIT:
Hum, and I read your Post, this very same Qt has already been asked and answered many times, you can find the Solution easily if you search the Forum a bit... :idea:
Last edited by chivracq on Sun Jul 31, 2016 11:31 am, edited 2 times in total.
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
Posts: 8308
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: JS file help

Post by chivracq » Sat Jul 30, 2016 10:50 pm

Pff, and no need to spam the Forum by opening several Threads about the same Qt... Sorry, Show-Stopper for me...:
- iMacros javascript help!
This other Thread has been reported and will be deleted, I cannot delete it myself, will have to wait for Forum Admin to react, unless you delete it yourself before... (still possible as long as nobody replies in it...)
(Thread Title a bit useless as well... :roll: )

Oh..., and a 3rd Thread...!:
- JS file help, willing to pay! Need ASAP
Hum..., OK, that one is OK, in the 'iMacros Consultants' Sub-Forum...

And I guess your last 2 previous Threads were already (related to) the same Qt like these 3 Threads, that makes 5 same/similar Threads, pff good luck but don't expect any Help from me... (or delete all Duplicate Posts/Threads and finish all your previous Threads neatly with your FCI and a Solution shared...):
- Re: help automating multiple imacros for firefox
- JS file help calling multiple macros

Notice that your 5 previous Thread had a 0% Answer Rate or if sbd replied you didn't even bothered to follow up / emit a mini Thanks...
Sorry but try first how to use a/the Forum a bit correctly and you wouldn't need to get that desperate at the last moment by opening 5 same Threads and offering to pay while we answer Threads for Free in our Free Time when People use the Forum a bit correctly... (We are all Volunteers doing our best to help other Users...)
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply