Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: bluedraft_72 on September 03, 2014, 03:57:23

Title: Questions about Tabs
Post by: bluedraft_72 on September 03, 2014, 03:57:23
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 :)
Title: Re: Questions about Tabs
Post by: Mathias (Author) on September 03, 2014, 12:47:21
Sorry, That is not possible

But holding shift shift while clicking on drive button will open it it another tab
Title: Re: Questions about Tabs
Post by: bluedraft_72 on September 03, 2014, 22:59:21
Ok, thank you! :)
Title: Re: Questions about Tabs
Post by: Crash+Burn on October 23, 2014, 20:41:17
If you don't mind using AutoHotkey (http://ahkscript.org), this script for MultiCommander will enable scrolling through tabs with the ScrollWheel, and opening the drive from the DriveBar in a new tab.
Code: [Select]
#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