a2515125 wrote: ↑Wed Oct 21, 2020 12:53 am
thanks ....but I would like to have odd numbers jumping between 1-50
i have no idea how to put the additional condition to limit the odd numbers within 1-50 with your creative "ADD" method
Hum, mention your FCI again when you feel like celebrating the 1 year Anniversary of some poor orphan Thread, ah-ah...!
+ Typo in your Post to use the ']quote[' Forum-Tags "correctly"...
Answer is/was already in my Script, simply loop it 25 times, ah-ah...!
>>>
a2515125 wrote: ↑Wed Oct 21, 2020 1:09 am
Code: Select all
SET Odd_Loop {{!LOOP}}
ADD Odd_Loop {{!LOOP}}
ADD Odd_Loop -1
SET !VAR1 EVAL("var z=\"{{{Odd_Loop}}\";z = (z % 50);if(z == 0){ z = 50};z;")
PROMPT {{!VAR1}}
My {{!VAR1}} show "NaN"
how do I solve it ?
Oh dear - Oh dear - Oh dear...!!, yep, lol-lol-lol...!
Once upon a time in iMacros' Land, there was an iMacros User (let's call him "a" + many_digits_for_anonymity) who had 4 Cats (all 4 called "z" for anonymity), but the 4 Cats got so confused chasing their own Tail that they all died when they finally realized that one of them was "Not_A_Cat"...
I don't know where you got this Syntax, but you apparently don't understand it, and to be honest, neither do I completely, use Syntax that I posted on the Forum, "my" Syntax is easy to understand and to reuse/adapt/modify... (and to debug...!) Follow "z" and you'll end up like the Cats, oops...!
>>>
Hum, and quite "funny" that you revived/bumped this Thread, I stumbled today upon an older Thread on SOF from 2011 where @Marcia from @TechSup had also provided the same Solution, ah-ah...!:
-
How to step 2 with iMacros loop? How to select every other href?
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...