Command Numbers

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
phred
Posts: 707
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Win10 at 100% from Boston USA

Command Numbers

Post by phred »

I haven't starting using command numbers yet, but I see a number of references to them here in the forum. Which brings me to a few questions.

1- Can they only be used in scripts?
1a- If not, how else can they be used?

2- Looking at some examples in some forum posts, a command number may be XXX does this and that. Yet when I look at Help > List all commands, XXX shows as a different command. Are command numbers specific to each user's installation?
2a- On one PC when I search all commands for "Lock" I get six hits. Doing the same on another PC I also get six hits but one of them has a different command number than on the first PC. I would expect them all to be the same.

Thanks .

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

Re: Command Numbers

Post by highend »

They can be used wherever script command execution is possible (buttons, address bar, catalog, etc.)
Are command numbers specific to each user's installation?
99% are not, some of them might be. E.g. each user defined command get's a command id once defined. So they can differ between installations.
One of my scripts helped you out? Please donate via Paypal

Post Reply