Page 1 of 1

Solved - Script command ::#338 does not work

Posted: 18 Apr 2018 13:41
by zakhar
Hello, Xyplorer forum!
Running on Win7, XY 18.90.0100 and using the script like

Code: Select all

 ::#380;
 ::#338;
 [... some script content ...]
 selectitems "...";
 tag "...","...",2,0;
 [... some script content ...]
I get XY's message " '::#338' is not a valid script command. " right after the script execution starts.
#380 and #338 should be the default commands to be reached under "Tools/Customise Keyboard Shortcuts.../View".
Please help!

Re: Script command ::#338 does not work :|

Posted: 18 Apr 2018 13:48
by highend
:: initiates a script (normally only done in the address bar or e.g. CFA, command line options for /script or /feed, etc.)

Remove both of your :: occurrences, they are not necessary (and the second one even invalid) in a real script

I'll move this to questions & answers...

Re: Script command ::#338 does not work 8|

Posted: 18 Apr 2018 14:27
by zakhar
I'll move this to questions & answers...
Ok.
Remove both of your :: occurrences, they are not necessary (and the second one even invalid) in a real script
Done.

The initial posting was a result of a mistake: not the #338 but #336 should be used.
Sorry.

Thank you, highend!