Synchronized dir browsing?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

j.x wrote:2Boofo Please see the two first posts in this thread, and you should get a quite good understanding in this command. It is a little special, but sometimes very useful (as tungwaiyip describes). It is exactly what I also do, now and then...
I read then and have re-read them and I still must not be connecting somewhere. I made the button but it does nothing when I click it. Sorry for my misunderstanding. ;)
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Post by *jb »

Apropos "interface clutter": TC 6.0 has a new panel splitter. It is thicker and more "complicated" than the old one of TC 5.51. I clearly prefer the old one although it had a little anomaly near the title bar. In comparison to the many great new features of TC 6.0 it is a tiny detail, but after all the splitter spans nearly the whole screen and you see it all the time. So I suggest to do a face-lifting occasionally.
User avatar
j.x
Junior Member
Junior Member
Posts: 54
Joined: 2003-09-18, 15:17 UTC
Location: Malmö, Sweden

Post by *j.x »

2Boofo
Nothing happens when you click the button, but afterwards, when you change directory in one of the panels, the other panel "follows", as long as there is a directory name matching it.
Using Windows without Total Commander is like driving a car without a steering wheel!
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

j.x wrote:2Boofo
Nothing happens when you click the button, but afterwards, when you change directory in one of the panels, the other panel "follows", as long as there is a directory name matching it.
I still can't seem to get it to do anything. I know it's me. ;)

Thank for trying to help me understand this. TRhat's what makes being a registered user of TC better than using something else. there are a lot of great people out there like yourself willing to help us "dummies". ;)
User avatar
havanna
Member
Member
Posts: 163
Joined: 2003-02-27, 08:06 UTC
Location: Baden/Württemberg

Post by *havanna »

Let's try again:
Create that button, make sure the command is cm_SyncChangeDir.

Navigate to the starting points in both panels (a fine example would be your local Website root in one panel and ftp on the other).
It makes sense only when you have th same (mainly) structure in both panels.
click your button once (you don't see anything happen).
When you doubleclick a dir, say "images", in one panel now both panels will change to "images".
Manually you would have to doubleclick e.g. "images" in left window and in right window.

The sync remains active as long as TC can follow in both panels. So if you create a new dir in one panel and change into it, the sync goes off.
to make it work again you have to set both panels to "same" place in structure again.

The major problem for me: buttons in TC are stateless, you can't see wether it's on or off (Christian?).

BTW I wouldn't consider anyone using TC adummy...
Tanstaafl
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:This option is so extremely special that I don't want to clutter the user interface with it. Who needs it can use the above method via an extra button.
havanna wrote:The major problem for me: buttons in TC are stateless, you can't see wether it's on or off (Christian?).
Great feature. Extremely special feature? No, i don't think Christian. I use it all the time and i had never thought of a cm_SyncChangeDir feature. Thanks tungwaiyip and j.x for bringing it up. At this point i'd like to say that i agree with havana about the stateless buttons. Would it be too much trouble to make them state-aware?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Thank you, sir. That explanantion and example made it more clear for me. It works like a charm now. ;)

I just have one question, though. ;)

If you have 2 directory structures like the example in the first post of this thread:

d:\bin\current\src\org\xyz\a
d:\bin\backup\src\org\xyz\a

Wouldn't it set itself off when you clicked on either the "current" directory or the "backup" directory in the above examples? And you would have to set it on again in the src directories? Or am I misunderstanding something?
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Post by *jb »

havanna wrote:The major problem for me: buttons in TC are stateless, you can't see wether it's on or off (Christian?).
Stateful buttons and other button-related improvements were once discussed in post http://www.ghisler.ch/board/viewtopic.php?p=7908 and subsequent ones.
User avatar
havanna
Member
Member
Posts: 163
Joined: 2003-02-27, 08:06 UTC
Location: Baden/Württemberg

Post by *havanna »

Boofo wrote:Wouldn't it set itself off when you clicked on either the "current" directory ...
Not sure I understand you.
Imagine two houses that are almost the same.
Position two guys with walkies at front door of each.
One enters and tells the other (who's blindfolded) exactly what to do: 5 steps ahead, turn left 90 deg, 10 steps ahead and so on. Thats how it works. Soon as the first uses a door that isn't present in the other house the blindfolded man will run into a wall.
That's when it turns off (Blindfold is removed).

Now you place both of them manually in some identical spot of their houses. Push your button (blindfold the gui again) and they're synced again.

Hope this helps.
Tanstaafl
User avatar
wanderer
Power Member
Power Member
Posts: 1640
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Boofo wrote:Wouldn't it set itself off when you clicked on either the "current" directory or the "backup" directory in the above examples? And you would have to set it on again in the src directories?
Yes, that's correct. Whenever you doubleclick a dir in a panel, if it doesn't find it in the other panel, this feature is deactivated and you have to reactivate it manually.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
User avatar
tom*de
Senior Member
Senior Member
Posts: 394
Joined: 2003-02-25, 09:21 UTC

Post by *tom*de »

cm_SyncChangeDir works also fine, if both windows show FTP-remote computers. My wish is, to have also the function cm_CompareFilesByContent in such cases. Anyone too?

?cm_SyncChangeDir doesn't work in case of ZIP-Files (of course with the same structure), it works only "downwards": that means: changedir via [..]
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
Post Reply