I have a "Tab Management" user button on the toolbar which is assigned to "tab_management.xys" script. When I click this button, there is a selection of 5 different actions:
* Reload the Current Tab
* Duplicate the Current Tab
* Close Other Tabs
* Close Tabs to the Right
* Reopen the Closed Tab
Is there a way to assign a shortcut to this button?
To assign a shortcut for a user button
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: To assign a shortcut for a user button
Sure. UDC, Run script with a kbd shortcut. Lookup the
button script command...One of my scripts helped you out? Please donate via Paypal
-
John_C
- Posts: 336
- Joined: 16 May 2018 20:04
Re: To assign a shortcut for a user button
Thanks, highend.
I can use either
I can use either
::button "ctb5"; or ::load 'tab_management.xys';, but both these solutions has a drawback: the menu is shown near the mouse cursor. As I understand, it's not possible to show it near the button?-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: To assign a shortcut for a user button
Afaik not
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club