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!
JS file help, willing to pay! Need ASAP
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Re: JS file help, willing to pay! Need ASAP
Try this js-script
with the following iim-macro
Code: Select all
var i, retcode;
// set your value below
var linesInCsv = 5;
for (i=1; i<=linesInCsv; i++) {
iimSet("i", i);
iimPlay("CNN2.iim");
}
Code: Select all
TAB T=1
SET !DATASOURCE JSTest.csv
SET !DATASOURCE_COLUMNS 7
SET !DATASOURCE_LINE {{i}}
URL GOTO=https://www.google.com/
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:q CONTENT={{!COL1}}