klownboy wrote:Stef123 hopefully the changes I discussed in the previous post resolve any issues you were having.
Yes, thank you, this update does indeed take care of my issues reported above.
Two new problems have been introduced, however:
1) "Build cache for current and subs" shows this message in the status bar:
status bar wrote:report done in # ms
This message comes up way too soon, and stays there. All the time the script seems still busy working, but I can only guess if it has finished or not.
2) Not sure whether it is still at work, I decide to ESC out of it. This brings up an XY dialog "Stepping through a script" from which I copied this line:
Code: Select all
run "cmd /c <xy> ""$path"" /new /win=tray /script=""::if(get('View') < 4) {#308;};#501;wait 20;if(get('instance') == '2'){exit n;}""", , 2, 0;
I click "Cancel Script". When I try to call up the script again, I get this error message:
A user-defined command (#1435) is not allowed to call itself
The ID refers to category "Load Script File" where I simply call the script via
..\Scripts\ThumbnailMaintenance.xys
I suspect both issues may be related to using a second instance of XY.
Would you mind offering an alternative script that does NOT use a separate instance of XY, but otherwise offers the same features?
Thank you
Stef