mouse wheel click open folder in a new tab
Moderators: Hacker, petermad, Stefan2, white
Re: mouse wheel click open folder in a new tab
2Fla$her
I edited my above entry as duplicated below. I hope it's clearer now.
"I consider a third party program, such as TwinKey, or a plugin, such as Autorun.wdx, a stopgap in assigning values to mouse clicks. This feature should be a default and built in to TC. From within TC, keystrokes can be assigned values. so should mouse clicks. TC doesn't use plugins for assigning values to keystrokes so TC shouldn't use plugins for mouse click values."
I edited my above entry as duplicated below. I hope it's clearer now.
"I consider a third party program, such as TwinKey, or a plugin, such as Autorun.wdx, a stopgap in assigning values to mouse clicks. This feature should be a default and built in to TC. From within TC, keystrokes can be assigned values. so should mouse clicks. TC doesn't use plugins for assigning values to keystrokes so TC shouldn't use plugins for mouse click values."
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Re: mouse wheel click open folder in a new tab
I still don't understand the logic. There is a plugin that is installed in TC. So it can be used in it. Isn't that right? Why shouldn't it (Autorun) be used for this? Nonsense.jinsight wrote: 2022-09-10, 19:24 UTCTC doesn't use plugins for assigning values to keystrokes so TC shouldn't use plugins for mouse click values.
Moreover, the plugin makes it possible to be limited to the specified components of TC window, which makes it logically more attractive and functional. See the examples in the help for a better understanding of the issue.
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
help_en.chm:
The functions are not performed.
I need this:
ТI use a script.
Notes
Although the plugin was optimized for speed, due to the large number of intercepted and processed messages, it is recommended to minimize the number of installed handlers if possible. It is also recommended that the most frequently occurring events (for example, scrolling with the mouse wheel, left-click) be placed at the beginning.
Limitations
Minimal requirements: Autorun 2.0.11+, Total Commander 9.0+.
Under Windows 7, actions assigned to the mouse wheel do not block the default action for this control.
X1 / X2 buttons may not work (untested).
The functions are not performed.
I need this:
Code: Select all
ControlSetMouseAction /M 0 SendCommand 701
ControlSetMouseAction /X1 0 SendCommand 702
ControlSetMouseAction /X2 0 SendCommand 703
Re: mouse wheel click open folder in a new tab
Write to the appropriate topic. There's an offtop here.
In TC betas errors are constantly being corrected. Plugins should be an exception?history_en.txt wrote:2.2.3 beta
- Tweaks: fixed work with modifiers (again, and again, and again)
2.2.2 beta
- Tweaks: fixed work with modifiers
P. S.: Generally, the Start menu is a long-standing relic. I don't understand why anyone else uses it.
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
2Fla$her
It is not rational to use only one command for the MButton key,
so I select third-party utility commands from the list on the Start menu
when performing a certain task.
The Autorun plugin works.
Thank you.
It is not rational to use only one command for the MButton key,
so I select third-party utility commands from the list on the Start menu
when performing a certain task.
The Autorun plugin works.
Thank you.
Re: mouse wheel click open folder in a new tab
Why couldn't you write earlier that a new version is needed?

Okey, now its work, BUT only when click on the active cursor

OS: Win10 | TC: latest x64
Re: mouse wheel click open folder in a new tab
I understand. I'm talking about why you use them instead of custom em_ commands.Ziabrev wrote: 2022-09-11, 03:56 UTC It is not rational to use only one command for the MButton key,
so I select third-party utility commands from the list on the Start menu
when performing a certain task.
Good. You are welcome.
The relevance of the version is always important. You don't write on every corner that it's better to use the current TC version.

Right:
But we are having a conversation with the author about adding a command to press buttons/keys, so you can also implement your request.Fla$her wrote: 2022-09-08, 12:56 UTC 2KozakMak
Have you read petermad's post? There it is not about clicking on a folder in the list.
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
2Fla$her
Through the Start menu, this is not required.
How? Change command in autorun.cfg? Then you need to restart TC.Я говорю о том, почему вы используете их вместо пользовательских команд em_.
Through the Start menu, this is not required.
Re: mouse wheel click open folder in a new tab
2Ziabrev
You call SendCommand 701 from autorun.cfg, which needs to be restarted after editing.
And where you create a command (in the Startup menu or in the Choise command dialog of the usercmd.ini or Wcmd_LNG.ini section) does not apply to restarting.
I'm writing about using the Startup menu itself. It's outdated.
It's better to use em_, since they can be named in a way that is understandable to the user.
And you can call from autorun.cfg, for example, like this:
You call SendCommand 701 from autorun.cfg, which needs to be restarted after editing.
And where you create a command (in the Startup menu or in the Choise command dialog of the usercmd.ini or Wcmd_LNG.ini section) does not apply to restarting.
I'm writing about using the Startup menu itself. It's outdated.
It's better to use em_, since they can be named in a way that is understandable to the user.
And you can call from autorun.cfg, for example, like this:
Code: Select all
ControlSetMouseAction /M 3 CommandExec em_OpenDirInNewTab
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
are there any improvements in 2.2.7 beta?Fla$her wrote: 2022-09-11, 14:59 UTCwe are having a conversation with the author about adding a command to press buttons/keys, so you can also implement your request.
OS: Win10 | TC: latest x64
Re: mouse wheel click open folder in a new tab
Yes, of course. Added a new child RunTime plugin and several functions (commands). Specifically for the current task, the following solution is proposed:
Code: Select all
LoadLibrary Plugins\Autorun_Runtime.dll
LoadLibrary Plugins\Autorun_Tweaks.dll
#——————————————————————————————————————
ControlSetMouseAction /M 1 OpenDirInNewTab
ControlSetMouseAction /M 2 OpenDirInNewTab
Func OpenDirInNewTab
I = ItemAtCursor('index')
F = RequestInfo(1010 + ItemAtCursor('panel'))
If I >= 0 And (F = -1 Or F > I) Then
If ItemAtCursor('panel') <> RequestInfo(1000) Or Not ItemAtCursor('focused') Then MouseClick
If ItemAtCursor('focused') Then SendCommand 3003
EndIf
EndFunc
P. S.: I didn't intend to publish this right away, as the plugin hasn't been fully debugged for release yet. At a minimum, we should expect 2-3 beta versions with minor additions to the functionality.
Off topic: I highly recommend taking a closer look at SetHotkeyAction + ShowPopupMenu.
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
Wow, very nice!
Okey, сan this feature be extended?
For example, I have in [Associations] *.torrent
If I click mouse wheel on this extention = open my associated program?
Okey, сan this feature be extended?
For example, I have in [Associations] *.torrent
If I click mouse wheel on this extention = open my associated program?
OS: Win10 | TC: latest x64
Re: mouse wheel click open folder in a new tab
2KozakMak
If get be attached only to associations, then this will complicate everything. It's easier to perform the Enter analog on non-catalog elements:
With the same success, instead of 1001, you can adapt, for example, such commands:
If get be attached only to associations, then this will complicate everything. It's easier to perform the Enter analog on non-catalog elements:
Code: Select all
LoadLibrary Plugins\Autorun_Runtime.dll
LoadLibrary Plugins\Autorun_Tweaks.dll
#——————————————————————————————————————
ControlSetMouseAction /M 1 OpenDirInNewTabElseEnter
ControlSetMouseAction /M 2 OpenDirInNewTabElseEnter
Func OpenDirInNewTabElseEnter
I = ItemAtCursor('index')
If I >= 0 Then
F = RequestInfo(1010 + ItemAtCursor('panel'))
If ItemAtCursor('panel') <> RequestInfo(1000) Or Not ItemAtCursor('focused') Then MouseClick
If ItemAtCursor('focused') Then
If F > I Or F = -1 Then
SendCommand 3003
Else
SendCommand 1001
EndIf
EndIf
EndIf
EndFunc
Code: Select all
904 / cm_Edit
2932 / cm_EditExistingFile
2934 / cm_ListOnly
2935 / cm_ListMulti
Overquoting is evil! 👎
Re: mouse wheel click open folder in a new tab
nice, but I can press enter anyway)
point is to bypass system associations
https://ibb.co/z5pTdDk
because internal associations is the first menu item, is it possible to somehow affect him?
point is to bypass system associations
https://ibb.co/z5pTdDk
because internal associations is the first menu item, is it possible to somehow affect him?
OS: Win10 | TC: latest x64
Re: mouse wheel click open folder in a new tab
I don't understand what this is about. If internal associations for the mask are set, then they will be executed by Enter.
What does the system context menu have to do with it?
If you are not satisfied with the system associations, what prevents you from adding internal ones?
How can be bypass system associations in the absence of internal ones? Some nonsense.
What does the system context menu have to do with it?
If you are not satisfied with the system associations, what prevents you from adding internal ones?
How can be bypass system associations in the absence of internal ones? Some nonsense.
Overquoting is evil! 👎