Hi Marco, I have been using SimpleUpdater.xys since you posted it a very long time ago. I noticed that after the update was completed, if I ran the following line of code XYplorer would exit. The code line is contained in a script which essentially gets me back to my normal layout and setup and will close an instance 2 if open/active.
Code: Select all
if(get("instance") == '2') {exit "n";end 1;}
See this thread for further background
viewtopic.php?f=2&t=18520 In performing further testing and stepping through the script it turns out that
echo get("instance"); will yield a "2" not a "1" when your script is completed and XY is restarted. I know your script uses SC get("instance"), but I'm having problems determining why, when XY restarts, it's in instance 2. Any thoughts? Using Don's internal SC update does not do this. Don't spend much time thinking about it unless you know off the top of your head...just curious. I'm using Rev 10.69 (latest) and using the 3 separate load lines to run discussed in the original post. Thanks.