Page 1 of 2
[FIXED] Appearance of goto ""; in place of separator in menu
Posted: 19 Mar 2016 16:48
by klownboy
Strange but for the last day I now have the appearance of many
goto ""; in quite a few scripts that bring up a menu. Never happened before (i.e the menus worked fine for a long time). I'm currently using 16.50.0200. The really weird thing is in most of the scripts like the LayCatTools script seen below, don't even have the SC 'goto' anywhere within the script. It looks something like this example below. It shows up on my Thumbnail Maintenance script as well an quite a few others. It occurs whether I run the script from a CTB or from run selected script.
goto appearance in scripts.JPG
Is anyone else seeing this issue? Could a change inadvertently affected scripting syntax? Thanks.
Thanks Sammay for pointing out that it occurs only where a separator should be.
Re: Appearance of goto ""; in script menus
Posted: 19 Mar 2016 16:59
by bdeshi
Am I correct in deducing that the goto items appear in place of menu separators? (I don't see the goto bugs (yet))
Re: Appearance of goto ""; in script menus
Posted: 19 Mar 2016 18:19
by klownboy
Yes, Sammay, it does appear where the separator should be. I didn't mention that I haven't changed anything on these scripts so something seems amiss. I don't see where a change in settings of any kind should result in something like this happening.

Re: Appearance of goto ""; in script menus
Posted: 19 Mar 2016 20:47
by klownboy
I ran the following simple script in "Run script..."
...and it showed this display...
goto vs separator issue.JPG
Any ideas what I may have done to deserve that?

I ran the same test script in a
fresh XYplorer and it does the same. Like I said I haven't changed any of the scripts that are affected and can't think of a setting that could or should affect it.

Thanks.
Re: Appearance of goto ""; in script menus
Posted: 19 Mar 2016 23:48
by PeterH
I'm on 16.50.0101, and the former mini-script correctly shows the separators.
Started from a script file as well as started from "Try Script".
Oh - just installed .0200 and tested: also works correct.
So it seems to be a klownboy-special? Or somebody else finds it, too?
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 00:10
by highend
Not here...
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 01:02
by klownboy
Thanks guys for checking. Yes, it's a klownboy-special alright and limited to one of three computers here. I tried an older saved XYplorer.ini file and also tried a fresh XY and there was no change. It makes me wonder if it's happening from outside XY. I can't see anything happening stepping through scripts. I don't remember adjusting any settings other than "locked tree" lately. I've done searches for "goto" and "-" in the ini file and haven't seen anything strange. I suppose I could also try getting an XYplorer.ini from another computer and see what happens. It's almost like something is substituting goto "-"; automatically for "-" in those scripts. I'm not sure what I can deduce from the fact that it happens in a "fresh" copy also. Probably that the ini file is not the problem? If you can think of something else I can do to troubleshoot please let me know. Thanks.
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 11:44
by klownboy
It looks like my trouble is being causing by the quotes around the dash, "-" even in the mini script above. When I removed the quotes and simply use - instead, the separator bar displays fine. Any thoughts on what I could have done either inside XY or outside to cause that....seems odd, but no one else is reporting any issues? I hate to go and remove quotes from a bunch of scripts if there some other explanation.
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 11:56
by highend
I use "-" since my first multi-part script, does still work flawlessly here...
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 12:27
by klownboy
Thanks highend, I've used "-" as well since I started scripting. I've been racking what's left of my brain trying to figure out what may be causing that to happen. I even disabled many outside programs like AHK and few other ones. Does the fact that it is happening on a fresh XY tell me that it may be an external issue or at least not an XYplorer.ini specific problem?
I copied an entire XYplorer folder structure from my laptop which doesn't have the problem and put it on this desktop with the problem and the laptop version when ran on the desktop exhibits the same behavior. So I assume it must be a Windows or some external behavior or change I made in the last couple of days...but WTH would do that?
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 12:51
by highend
Restart Windows, hold Shift key the whole time during that (autostart programs aren't executed then). Does it still happen afterwards?
Re: Appearance of goto ""; in script menus
Posted: 20 Mar 2016 17:13
by klownboy
I booted up in Safe Mode and still see the same problem. By the way the shift key modified start doesn't work quite the same in Windows 10. It will bring up a Windows menu though with quite a few options one of which is good old Safe Mode which I tried.
Re: Appearance of goto ""; in script menus
Posted: 21 Mar 2016 13:38
by TheQwerty
What's your locale information show in Various Info?
Re: Appearance of goto ""; in script menus
Posted: 21 Mar 2016 14:09
by klownboy
Hi TheQwerty, various info shows
System Locale ID: 1033 (en-US)
Thread Locale ID: 1033 (en-US)
Default ANSI Code Page: 1252 (ANSI - Latin I)
Active Code Page: 1252 (ANSI - Latin I)
DBCS Code Page: No
It's strange because this is the only odd behavior I'm seeing at all and not just with XY. I mentioned above that I copied my XY folder from my laptop to a temp folder and ran it and it on this desktop and it displayed the same way even though it was fine on the laptop. Since then I also copied my XY folder structure from this desktop with the issue to the laptop and it displayed fine on the laptop. Since it also displays the separator incorrectly in a fresh XY I have to assume it's a Windows or some external issue. It displayed incorrectly even on a safe boot up. Irritating more than anything. I can remove the quotes on a number of scripts as I did with Session Manager and the menus display fine. Thanks.
Re: Appearance of goto ""; in script menus
Posted: 21 Mar 2016 15:55
by TheQwerty
Does it still occur if you try in a fresh instance of an older version of XYplorer?