amazing job @chivracq here and now try by myself to adapt for my needs

Code: Select all

```
VERSION BUILD=8820413 RECORDER=FX
TAB T=1
SET !DATASOURCE 6-ori-zi-shedule.csv
SET !VAR1 "a1='1', a1='61', a1='121', a1='181', a1='241', a1='301', a1='361', a1='421', a1='501', a1='561', a1='621', a1='681'"
SET !VAR2 "b1='1', b1='2', b1='3', b1='4', b1='5', b1='6', b1='7', b1='8', b1='9', b1='10', b1='11', b1='12'"
SET !VAR3 EVAL("var s='{{!LOOP}}', brh='{{!VAR1}}', brc='{{!VAR2}}'; var x,y,z; x=brh.split(s); y=x[0].split(',').length; z=brc.split(',')[y-1].split('\\'')[1]; z;")
PROMPT LOOP:<SP>_{{!LOOP}}_VAR3:<SP>_{{!VAR3}}_<BR>brh:<BR>__{{!VAR1}}_<BR><BR>brc:<BR>_{{!VAR2}}_<BR><BR>
SET !DATASOURCE_LINE {{!VAR3}}
```

if I declare LOOP 1 will show me 1, and of course on LOOP 61 will show 2, but if I don't declare the LOOPs between them, will show me random numbers.

I need to show me in !VAR3 only the specified LOOPs in !VAR1 with !VAR2

the Loops I don't declare to show nothing

and SET !DATASOURCE_LINE will be empty with error

and with SET !ERRORIGNORE YES will pass the line.

thank you for your advices

I am using (FCI): iMacros for CR v10.1.1 'PE', CR v105.0.5195.102 (_x64), Win10_x64. ('CR' = 'Chrome' / 'PE' = 'Personal Edition')