Short & long mouse clicks on a button for different actions

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Short & long mouse clicks on a button for different actions

Post by *DrShark »

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.
Last edited by DrShark on 2021-08-24, 08:46 UTC, edited 2 times in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

I would like to have the Ctrl and Shift modifier for clicking on a button.
This gives 3 functions on one button and is much simpler to use.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Horst.Epp wrote:I would like to have the Ctrl and Shift modifier for clicking on a button.
This gives 3 functions on one button and is much simpler to use.
The command to accept these 3 functions as a parameters still may be required.
It seems that a button format is limited when a button is converted to em command. For example the information on the action for the button (switch to or show as menu) if a the Command field has just the path to a bar filename is stored in a bar file as iconic parameter, but the iconic parameter doesn't work for usercommands, so probably to avoid this limitation, the OPENBAR command was introduced.

This post has been edited
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply