Multi Commander > Support and Feedback

Questions about Tabs

(1/1)

bluedraft_72:
Hi, I was wondering if this is possible right now?

Move through tabs using the mouse scroll

Open drive in new tab (from the drive button toolbar) using the mouse middle button

Thanks in advance for any help :)

Mathias (Author):
Sorry, That is not possible

But holding shift shift while clicking on drive button will open it it another tab

bluedraft_72:
Ok, thank you! :)

Crash+Burn:
If you don't mind using AutoHotkey, this script for MultiCommander will enable scrolling through tabs with the ScrollWheel, and opening the drive from the DriveBar in a new tab.

--- Code: ---#SingleInstance, Force
#Warn
#NoEnv
#InstallKeybdHook
#InstallMouseHook
SetTitleMatchMode, Regex
SetKeyDelay, 32, 32
ListLines, On

#ifWinActive ^Multi Commander v\d ahk_class ^Afx:00007FF77F9A0000:0$
/*
MultiCommander:
Open Drive in New Tab - from the DriveBar
*/
$MButton::
MouseGetPos, gxPos1, gyPos1, gWin, gControl
if( gControl == "ToolbarWindow321" )
{
Send, ^{t} ; New Tab
Send, {LButton}
return
}
Send, {MButton}
return


/*
MultiCommander:
Change Tabs with WheelUp|WheelDown when the mouse is NOT over the file panels.
*/
*$WheelUp::
*$WheelDown::
wheelKey:=substr(A_ThisHotkey, 3)
if( GetKeyState("RButton", "P") && watchWheel )
Send, % "{Blind}{LCtrl Down}" . (wheelKey == "WheelUp"? "+":"") . "{Tab}"
else
Send, % "{" . wheelKey . "}"
return

$RButton::
wheelKey:=""
MouseGetPos, gxPos1, gyPos1, gWin, gControl
if(RegExMatch(gControl, "^ZMULTILISTCTRL\d+$"))
{
Send, {Blind}{RButton Down}
KeyWait, RButton
Send, {Blind}{RButton Up}
return
}
watchWheel:=TRUE
KeyWait, RButton

if( !wheelKey )
Send, {Blind}{RButton}
Send, {Blind}{LCtrl Up}
watchWheel:=FALSE, wheelKey:=""
return

#ifWinActive

--- End code ---

Navigation

[0] Message Index

Go to full version