Specific command ID #'s fail to run in catalog. Syntax error or bug?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Drasden
Posts: 16
Joined: 26 Nov 2011 14:43

Specific command ID #'s fail to run in catalog. Syntax error or bug?

Post by Drasden »

Specific command ID #'s fail to run in catalog. Syntax error or bug?

Until now, I've used the catalog to run scripts and point to XY function/command ID #'s without a problem.
Perhaps my error is syntax, but other command ID #'s work fine with this simple syntax as noted in the examples below.

Command Id's that produce incomplete results for me *As Scripts in the Catalog* but work as *User Buttons* and as *Keyboard commands/shortcuts* seem to be part of the same group -
" File / to clipboard "

Any suggestions are appreciated. Thank you in advance.

+ Example 1
Works in catalog
Location: ::#308// toggle thumbnails

+ Example 2
Does not work in catalog. Results incomplete(no filename). Works as a User Button and as a keyboard command.
Location: ::#101//Copy the full path/name of all selected Tree or List items.
Location: ::#102//Copy the name of all selected Tree or List items.

Using version: 20.90.0100 (07-Apr-2020)
Also tested on v.20.60.0200 w/same results

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

Re: Specific command ID #'s fail to run in catalog. Syntax error or bug?

Post by highend »

It's not a syntax error. Don't know if this can be called a bug. Maybe it is, maybe it's designed that way.
Don has to answer this

The problem is the focus. If you hit a catalog entry that uses #101 you'll see something like this in the status bar:

Code: Select all

copied to clipboard: <path to your scripting folder>\
Now use this instead:
::focus "L"; #101

This will work fine...
One of my scripts helped you out? Please donate via Paypal

Drasden
Posts: 16
Joined: 26 Nov 2011 14:43

Re: Specific command ID #'s fail to run in catalog. Syntax error or bug?

Post by Drasden »

Hi Highend, Thank you for the solution. Works fine in the cases that I tested.

Yes, it is odd because other commands like #128 (rename filename to all caps) should have the same issue with focus but do not.

Anyhow, noted and thanks again.

admin
Site Admin
Posts: 65561
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Specific command ID #'s fail to run in catalog. Syntax error or bug?

Post by admin »

I agree it's odd. In the next beta #101; will be enough.

Post Reply