Loop while need conversion from storeEval to executeScript


I need a conversion for a macro to create a loop, in the old version of kantu i used this macro but now need to convert in new sintax

Any can help me and write a code to adapt to new kantu command please ?


  1. Change While to While_2 (the condition can stay unchanged)

  2. Change StoreEval to

executeScript_Sandbox | return Number (${i}) + 1; | loopcounter

1 Like

Thanks @ulrich

Need to add end (endwhile) at the end and working like a charm.