How to map a XYplorer command to a User Button?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Minimax
Posts: 93
Joined: 12 Dec 2009 15:56
Location: Switzerland

How to map a XYplorer command to a User Button?

Post by Minimax »

Hi all

I would like to add a User Button to the tool bar for the command "Close all other unlocked Tabs" (Ctrl+Shift+W).
Can this be done and if yes how? I guess I have to write a script.

Thanks

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: How to map a XYplorer command to a User Button?

Post by jacky »

You can do it simply by invoking the command ID of that command (It is done through scripting, yes, as any action of a Custom Toolbar Button). Command IDs of commands can be found through CKS (Tools|Customize Keyboard Shortcuts)

For what you want, simply put this under "On click" of your CTB:

Code: Select all

#352;
Proud XYplorer Fanatic

Minimax
Posts: 93
Joined: 12 Dec 2009 15:56
Location: Switzerland

Re: How to map a XYplorer command to a User Button?

Post by Minimax »

Great. Thanks Jacky.

Post Reply