Solved - Script command ::#338 does not work

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
zakhar
Posts: 179
Joined: 08 Sep 2010 21:13

Solved - Script command ::#338 does not work

Post 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!
Last edited by zakhar on 18 Apr 2018 14:28, edited 2 times in total.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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...
One of my scripts helped you out? Please donate via Paypal

zakhar
Posts: 179
Joined: 08 Sep 2010 21:13

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

Post 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!

Post Reply