In one eValid playback the starting window is numbered "0" and each subsequent window that opens is given the next number, "1", "2", "3", for example.
Even if a script closes, for example, window "2", the next one opened will be in sequence from the start, "4" for example.
The CallScript command incorporates the called script into the sequence of commands executed during playback. Each of called script therefore is part of the same playback, so all of the windows will be numbered differently, even if you suppress (close) one of them.
Given what you want to do there are several options.
Option 1: Separate eValid Instances
Run the script in separate instances of eValid. If each playback starts the numbering from "0" again, then all of the subscreen numbers will be "1", as you wish.
You could do this from a sequence of evalid batch commands using the command line interface:
eValid -- Command Line Interface Or, you could run the same commands form within eValid using the SystemCall command, each of which create a new instance of evalid.
Option 2: Parameterize the Script
If you convert the window number in your script to, $WINDOW, then you could have a series of CallScript commands like this:
CallScript script "$WINDOW=1"
CallScript script "$WINDOW=2"
CallScript script "$WINDOW=3"
CallScript script "$WINDOW=4"
In this case the natural window-opening order is preserved in a single script, but the actions taken in the called script are then correct relative to the sequential window number.
_________________
eValid Tech Support