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
Specific command ID #'s fail to run in catalog. Syntax error or bug?
Re: Specific command ID #'s fail to run in catalog. Syntax error or bug?
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
Now use this instead:
This will work fine...
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>\
::focus "L"; #101This will work fine...
One of my scripts helped you out? Please donate via Paypal
Re: Specific command ID #'s fail to run in catalog. Syntax error or bug?
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.
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?
I agree it's odd. In the next beta
#101; will be enough.FAQ | XY News RSS | XY X
XYplorer Beta Club