Short & long mouse clicks on a button for different actions
Posted: 2017-05-17, 09:46 UTC
I suggest to introduce the new native command
cm_EXECSHORTLONGCLICK <parameter 1>, <parameter 2>
If this command is a single command in the button, the short left mousebutton click on the button should execute the cm or em command defined in <parameter 1>. The long left mousebutton click should execute command defined in <parameter 2>.
Use cases:
1) there are different parameters used to start some app as user or as administartor. We don't want to waste the space of two buttons on this, but also the same time we want a quick access to one of the commands (this cannot be solved by moving our two buttons to a separate button bar because the short mouse click will just show the bar buttons).
2) it will be possible to assign the execution of some app on a short click, and a quick access to a bar with multiple related commands using long mouse click. If this suggestion will be implemented, after a long click it will be even possible to show that bar as a menu.
cm_EXECSHORTLONGCLICK <parameter 1>, <parameter 2>
If this command is a single command in the button, the short left mousebutton click on the button should execute the cm or em command defined in <parameter 1>. The long left mousebutton click should execute command defined in <parameter 2>.
Use cases:
1) there are different parameters used to start some app as user or as administartor. We don't want to waste the space of two buttons on this, but also the same time we want a quick access to one of the commands (this cannot be solved by moving our two buttons to a separate button bar because the short mouse click will just show the bar buttons).
2) it will be possible to assign the execution of some app on a short click, and a quick access to a bar with multiple related commands using long mouse click. If this suggestion will be implemented, after a long click it will be even possible to show that bar as a menu.