Page 1 of 1

User Buttons to execute Menu Commands

Posted: 21 Dec 2014 21:11
by kavusha
Hi

Can somebody tell me how do i create User Buttons on the toolbar which would execute simple Menu Commands
for example, swap Locations or say switch to the Horizontal Panes View?

Thank you for any help.

Kavi.

Re: User Buttons to execute Menu Commands

Posted: 21 Dec 2014 21:54
by highend
Ctrl + Shift + F9
Select a "User Button #1" on the left, click "Add ->"
Click "OK"

Right click on the new button on your toolbar, choose "Edit..."

Choose a name, evtl. an icon.
Enter this "On left click"

Code: Select all

#811;
or

Code: Select all

#801;
Swap Locations = #811
Horizontal Panes View = #801

Re: User Buttons to execute Menu Commands

Posted: 22 Dec 2014 13:12
by kavusha
Thank you very much for your quick reply!
Great!

Regards.

Kavi

Re: User Buttons to execute Menu Commands

Posted: 22 Dec 2014 13:37
by admin
This might help in the process:

Code: Select all

    + Menu Help: Added toggle "Command IDs on Menu". Tick it to show the command 
      IDs in the main menu (and, where they are featured, in context menus).
      FYI, all commands that can be assigned a keyboard shortcut have an 
      internal command ID which can be used in scripting to refer to the 
      command.

Re: User Buttons to execute Menu Commands

Posted: 22 Dec 2014 17:55
by kavusha
Thanks a lot for your help!
...and wow...I am really impressed by the XYplorer's versatility and the level of customization.

Great job!

Regards

Kavi