Adding an option to "Synchronize Directories"

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Adding an option to "Synchronize Directories"

Post by *yosi_tz »

Hello Total Commander Team and users

Again & again I find myself in a need to the following option, now missing:
In the fantastic "Synchronize Directories", when you get the results, and right click the mouse, the following options need to be added:

Go to right file
Go to left file
Go to left & right files

The same way as in Search results, often I get the Compare table and, as a result, wish to return back, not to the origin directories, but to other dirs or files I got in the compare table/

Hope you consider my suggestion and add it very soon

Thanks a lot
Yosi shatz
Registered User
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Yes, this would be useful.
Lope
Junior Member
Junior Member
Posts: 22
Joined: 2010-09-26, 14:17 UTC

Post by *Lope »

I agree.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Support++
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I use an ugly workaround with ahk for this, so you got my support too.
ackuxacky
Junior Member
Junior Member
Posts: 43
Joined: 2012-09-28, 06:17 UTC

Post by *ackuxacky »

Dear Samuel,

what is your solution, pls?

Cheers,
Samuel wrote:I use an ugly workaround with ahk for this, so you got my support too.
ackuxacky
Junior Member
Junior Member
Posts: 43
Joined: 2012-09-28, 06:17 UTC

Post by *ackuxacky »

I totally agree.

What else can a user do, if they find a specific file which they want to open? There is not much to do, just to remember the filename and to search for it after closing the SyncDir dialogue.

A double-click opens the file in the native (or pre-selected) editor (what about DOCX or PDF?).
CTRL-C copies only the filename and displayed properties.

Cheers,
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

ackuxacky wrote:
Samuel wrote:I use an ugly workaround with ahk for this, so you got my support too.
Dear Samuel,

what is your solution, pls?

Cheers,
This is what I am using.

Code: Select all

#IfWinActive, ahk_class TCmpForm
+Left::
    Send, {F3}
    File := GetListerPath("5", "1")
    run %File%
return
+Right::
    Send, +{F3}
    File := GetListerPath("5", "1")
    run %File%
return
+Up::
    Send, {F3}
    File1 := GetListerPath("5", "1")
    Send, +{F3}
    File2 := GetListerPath("5", "1")
    run C:\totalcmd\totalcmd.exe /T /O /L="%File1%"
    run C:\totalcmd\totalcmd.exe /T /O /R="%File2%"
return
#IfWinActive


GetListerPath(Timeout, CloseLister)
{
    WinWaitActive, ahk_class TLister,, %Timeout%
    IfWinNotActive, ahk_class TLister
        return

    WinGetActiveTitle, Title
    if(CloseLister == "1") {
        WinClose, %Title%
    }
    pos := (InStr(Title, "[", false, 1) + 1)
    ;Folder := SubStr(Title, pos, (InStr(Title, "", false, 0) + 1) - pos)
    File :=	SubStr(Title, pos, StrLen(Title) - pos)
    return File
}
Post Reply