Page 1 of 1

How to map a XYplorer command to a User Button?

Posted: 15 Dec 2009 22:49
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

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

Posted: 15 Dec 2009 23:04
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;

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

Posted: 15 Dec 2009 23:15
by Minimax
Great. Thanks Jacky.