Page 1 of 1

Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-02, 06:28 UTC
by monarch-lfv
Built-in TС functionality: parameters for launching buttons with modifiers (CTRL+button, SHIFT+button, ALT+button) - like AltRun.exe.

Simple example:

Code: Select all

Command: notepad.exe
Parameters:
Parameters CTRL: %P%N
Parameters SHIFT: %WL
Parameters ALT: %F
Description: Notepad (CRTL-current file, SHIFT-Filelist in notepad, Alt-Filenames in notepad)
In order not to change the structure of the button entry, I suggest writing them at the end of the button code:

Code: Select all

TOTALCMD#BAR#DATA
notepad.exe

notepad.exe
Notepad (CRTL-current file, SHIFT-Filelist in notepad, Alt-Filenames in notepad)

1
-1
%P%N
%WL
%F

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-02, 11:29 UTC
by Gral

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-02, 12:05 UTC
by monarch-lfv
2Gral
Thanks for the links, but they are all dead ends. I want support and development of the topic.

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-02, 22:08 UTC
by LonerD
Support.
And + Middle Mouse Button click.

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-04, 04:28 UTC
by jinsight
Support++ including mmb click

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-04, 08:25 UTC
by Horst.Epp
monarch-lfv wrote: 2023-06-02, 12:05 UTC 2Gral
Thanks for the links, but they are all dead ends. I want support and development of the topic.
That may take a very long time to come.
Whats wrong with using the AHK script which you can also modify to your own needs.
viewtopic.php?t=78193#p425585

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-04, 09:10 UTC
by monarch-lfv
2Horst.Epp
I wrote above that there is already the program AltRun.exe.
But I would like built-in functionality.

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-04, 15:12 UTC
by Horst.Epp
monarch-lfv wrote: 2023-06-04, 09:10 UTC 2Horst.Epp
I wrote above that there is already the program AltRun.exe.
But I would like built-in functionality.
AltRun isn't applicable here.
You can't run TC commands from it.

Re: Buttons with modifiers (CTRL, SHIFT, ALT)

Posted: 2023-06-04, 23:33 UTC
by monarch-lfv
2Horst.Epp
Yes, altrun is powerless here, but for internal commands I use another utility - Pressed.exe.
Script AHK - this is the third solution. But I want built-in functionality.