Page 1 of 7

mouse wheel click open folder in a new tab

Posted: 2022-08-11, 10:19 UTC
by KozakMak
Сlicking with the mouse wheel opens the folder under the cursor in a new tab.
How's the idea?

Re: mouse wheel click open folder in a new tab

Posted: 2022-08-11, 22:24 UTC
by Fla$her
TwinKey has this option.

Re: mouse wheel click open folder in a new tab

Posted: 2022-08-12, 05:10 UTC
by KozakMak
for me, this addon more like cancer

Re: mouse wheel click open folder in a new tab

Posted: 2022-08-12, 13:03 UTC
by Fla$her
What does cancer have to do with it? :?

Re: mouse wheel click open folder in a new tab

Posted: 2022-08-12, 14:12 UTC
by Horst.Epp
KozakMak wrote: 2022-08-12, 05:10 UTC for me, this addon more like cancer
What real problems do you have with it ?
Its not usable in dark mode but fine otherwise.

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-06, 18:49 UTC
by Ziabrev
Suggest a universal method to click the mouse wheel:
assign to use for the cm_UserMenu1 (=701) (Start first menu item in Start menu).
In the Start menu you can move any command to the top line.

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 13:16 UTC
by Fla$her
Ziabrev wrote: 2022-09-06, 18:49 UTC In the Start menu you can move any command to the top line.
What does the Start menu have to do with this? :?

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 14:21 UTC
by Ziabrev
2Fla$her

Totalcmd.inc:
[________________User________________]=0
cm_UserMenu1=701;Start first menu item in Start menu
cm_UserMenu2=702;Second item
cm_UserMenu3=703;Third item

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 15:55 UTC
by Horst.Epp
Let me repeat Fla$her's question.
Your topic subject says "mouse wheel click open folder in a new tab"
How is that related to TCs cm_Usermenu entries ?

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 18:37 UTC
by Ziabrev
2Horst.Epp
KozakMak asked:
What do you think of the idea?
My answer is about the idea.
My answer is not about tabs.

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 18:54 UTC
by Fla$her
2Ziabrev
The task is that after moving the mouse pointer to a directory in the file list, clicking the mouse wheel opens the directory in a new tab. There is no other idea here. And you offer something past the topic.

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 19:50 UTC
by Ziabrev
2Fla$her
Open the folder under the cursor in a new tab

Click the mouse wheel = cm_UserMenu1=701

Wincmd.ini:
[user]
menu1=Openс Dir In New Tab
cmd1=cm_OpenDirInNewTab

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-07, 20:52 UTC
by Ziabrev

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-08, 01:28 UTC
by petermad
I can not support such a specific feature as "mouse wheel click open folder in a new tab" - but I can certainly support a feature to assign a cm_command or em_command to the mousewheel click and also support modifier keys Shift, Ctrl, Alt and/or Win for the mousewheel (or middle) click.

The GUI for it could be implemented by simply adding a MCLICK to the dropdown list of keys in the "Redefine hotkeys" setting.

Entries in wincmd.ini could then look like this:

Code: Select all

[Shortcuts]
MCLICK=cm_OpenDirInNewTab
C+MCLICK=cm_OpenDirInNewTabOther
A+MCLICK=em_myfunction

[ShortcutsWin]
MCLICK=cm_SetAttrib

Re: mouse wheel click open folder in a new tab

Posted: 2022-09-08, 04:20 UTC
by Fla$her
Ziabrev wrote: 2022-09-07, 20:52 UTC Screen
And where is the wheel pressing on the folder? It's not there.

2petermad
The same can be achieved using Autorun.wdx (ControlSetMouseAction).