Problem with selecting a specific Tab with ${!LOOP}

So am having some issues with loop command, apparently when I use tab=${!LOOP} it start from tab 1 And I want it to start from tab 2
I tried tab=$+1{!LOOP} but it gives me this error code :

[error] invalid tab offset, '$+1{!LOOP}'

You need to use storeEval to do the “+1” calculation:

  • storeEval | ${!LOOP} +1 | mytab
  • selectWindow | tab=${mytab}
1 Like

Thank you so much, it worked :slight_smile: