Problem using external sync dir to avoid modal dialog

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

ghisler(Author) wrote:Good point, there are indeed no parameters right now for left and right directory.

Is it planned to realised them? It's needed to give them to ReloadTC
to restart TC in the current folders independent from the folder tabs.

mf
Bankster - Word of the Year 2009
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 »

ghisler(Author) wrote:
Samuel wrote:Would be perfect to support left an right path parameters
This is still on my to do list...
Sounds promising.
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

2Samuel Cool, let's hope it's the to do list for TC 7.5. :)

mf
Bankster - Word of the Year 2009
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 »

2Mikefield
I hope so too.

@ghisler(Author):
There has been reported an serious behavior change here: No confirmation dialogs are shown.
I also found another little behavior change: F1 doesnt work in standalone.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Samuel
Did this work in previous beta versions?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

F1 doesnt work in standalone.
That applies to standalone Compare contents too...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: 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 »

ghisler(Auhor) wrote:2Samuel
Did this work in previous beta versions?
I dont know.
The behavior change is meant between "standalone Sync" and "TC intern Sync".

I dont mean a behavior change from the last beta.
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 »

Confirmed F1 working in Sync Tool.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem was that the sync tool wasn't loaded all the settings which TC normally loads. Please let me know if you find other problems with standalone sync.
Author of Total Commander
https://www.ghisler.com
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 will, but it seems as if most of the behavior changes have already found.
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm that F1 now works in standalone Sync tool and Compare content in TC 7.50pb4 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: 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 »

The option "only selected in main window" doesnt work in standalone sync.

Perhaps it could be introduced by making a call like:

Code: Select all

totalcmd.exe /S=S "C:\Folder1\" "D:\Folder2" /L1="a.txt" "b.txt" "c.txt" /L2="a.txt" "b.txt"
Could be called by TC by:

Code: Select all

totalcmd.exe /S=S %PL %PR /L1=%SL /L2=%SL
%PL, %PR, %SL and %SR are currently not supported by TC.

Code: Select all

%PL - path in left panel of TC
%PR - path in right panel of TC
%SL - selected files on left panel of TC
%SR - selected files on right panel of TC
Dont know how it could be implemented in an other (and simpler) way.
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Command line has limit. IT will be better to use some temp file with selection or to pass sync options between TC instances (it is interesting how TC passes selected items to sync tool).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

A list file should be feasible, I will check that.
Author of Total Commander
https://www.ghisler.com
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 »

History.txt wrote:07.06.09 Added: Synchronize dirs: Allow to save option "Only selected (in main window)": If checked, TC offers to save the selected names in a list file
Mh thats a good feature, but its not what I expected.

I expected something to be able to "transport" the currently selected files to the standalone sync tool from TC.
But it adds only the possibility to save selected files for preset syncronizations and I can only create such presets with the TC-intern sync tool (and after that use it in standalone tool).

I also dont know a good implementation, because sometimes the commandline should have a filelist (with the selected files) appended and sometimes not (because no files were selected).

I think only an internal parameter for calling the standalone tool with correct left/right paths and also the selected files could solve the problem.
Post Reply