Currently, if you drag file(s)/folder(s) to another folder and drop them within the list of subfolders, they will be dropped in the subfolder which happens to be on the line where the mouse was released!
In all other file managers they will be copied/moved to the folder where the mouse was released, not in its subfolder.
The only two ways to circumvent this undesirable behavior are:
1. Drop them on the address bar of the target folder
2. Drop them below the list of subfolders.
Non-Standard Drag-and-Drop Using Mouse Behavior
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can drop them on the title of the panel to avoid it. Btw, dropping files on subfolders also works with Explorer...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Are you using windows XP? In windows-7 explorer behaves much the same way -grab a file, hover over a folder and a pop-up offers to copy it there; hovering a bit longer expands the tree if any.
Question:
In TC I grab a file, and in the other pane I can hover a folder and expand it by pressing ENTER. Is there a way to acces another tab, another drive, or the parent folder in the same manner?
In explorer any folder on any drive can be reached, in TC I feel limited to what happens to be in the other pane. I know I can use the breadcrumb bar, but for some reason it takes ages to reach my computer.
Question:
In TC I grab a file, and in the other pane I can hover a folder and expand it by pressing ENTER. Is there a way to acces another tab, another drive, or the parent folder in the same manner?
In explorer any folder on any drive can be reached, in TC I feel limited to what happens to be in the other pane. I know I can use the breadcrumb bar, but for some reason it takes ages to reach my computer.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Here's an AHK script that might help. I find TC is not very mouse friendly for the most part.
When you've selected files and moved the mouse enough so that the cursor has changed to [+], [-], or [Ǿ]
Press ALT+Space :: This will close any current TreePanels, open a Single Tree panel, and move the mouse to approximately be over "My Computer".
Also there is a minor ScrollWheel fix, so any Control (File Panel) that the mouse pointer is over, when LButton is down... the Scroll wheel will affect that ListBox, instead of continuing to scroll in a panel you are no longer hovering over any longer.
You may note, that Enter will work when the mouse cursor is on a Folder in the other Pane or the Tree-Pane, and will immediately open that Folder instead of having to wait until it "auto-expands".
Code: Select all
#SingleInstance, Force
#Persistent
#NoEnv
SetBatchLInes, -1
SendMode Input
QueryMouseCursor()
{
VarSetCapacity(CurrentCursorStruct, 20, 0)
NumPut( 20, CurrentCursorStruct, 0 )
result := DllCall("GetCursorInfo", "str", CurrentCursorStruct)
return (NumGet(CurrentCursorStruct, 8))
}
#ifWinActive, ahk_class TTOTAL_CMD
!Space::
{
if( inStr(",50135657,155189883,162595327,337117793,", "," QueryMouseCursor() ","))
{
SendMessage, 0x433, 3200, 0,, A ; cm_SeparateTreeOFF
SendMessage, 0x433, 3201, 0,, A ; cm_SeparateTree1
MouseMove, 50, 100
}
else
Send, !{Space}
return
}
WheelUp::
WheelDown::
{
if(!GetKeyState("LButton", "P") )
{
Send, % "{" A_ThisHotKey "}"
return
}
MouseGetPos,,,,aConID,3
ControlClick,, ahk_id %aConID%,,% A_ThisHotKey
return
}
return
Sorry for responding so late, your script looks interesting, I will try that out when my new old widescreen arrives. A few days ago I put together a little TCMC script that opens 'my computer' in a new tab in the opposite window: Disadvantage is that all marking is lost -I could not find an internal command for a simple tab keypress so I had to flip windows. If I overlooked something please let me know.
BTW I did steal your shortcut, ALT-Space is very appropriate.
Code: Select all
[em_mc]
button=
cmd=C:\Program Files\totalcmd\Plugins\TCMC.exe
param=CMcm_ExchangeWithTabs CMcm_OpenNewTab CMcm_OpenDrives CMcm_ExchangeWithTabs
BTW I did steal your shortcut, ALT-Space is very appropriate.
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
A more custom version can be found in the TC Plugins forum: [AHK] Drag & Drop (Lock Mouse + Improved Scroll)
Script enables "Drag Lock" to lock the LButton, as I found it touchy to use the scroll wheel while holding Left click down.
Script enables "Drag Lock" to lock the LButton, as I found it touchy to use the scroll wheel while holding Left click down.