For awhile now it seems that whenever I run a script that contains the following line of code, anytime
after performing an update of XYplorer (i.e., XY has already been closed and restarted), that line of code causes XY to exit and I have to restart it.
Code: Select all
if(get("instance") == '2') {exit n;end 1;}
In stepping through the script, when it gets to the line above, the if statement evaluates true and therefore exits XY. Only one instance of XY is open. The script is one that I use quite often assigned to a CTB. It essentially gets me to what I what call my 'normal' configuration (look and layout, etc.) and it of course will close a second instance if I had one open.
It appears that after an update, XY for some reason thinks the newly reopened XYplorer is a second instance. As I said though, XYplorer was already been closed and restarted when this happens. This did not happen before, but it's been doing this for quite a few months.