suggestion - synchronize directories - default button

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

suggestion - synchronize directories - default button

Post by *peterb »

Now that TC7 has that usefull feature to save/load synch presets,
I would be nice to have a function to call a standard set.

For example, user saves his most used set as "Standard".
This is called either by an extra button (lots of space in GUI),
or allways at startup of synch dirs tool.

In TC 7b3, one need to open the dialog, choose preferred set,
then continue. Thats extra activity and possible user errors.

Peter
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

In TC 7b3, one need to open the dialog, choose preferred set,
then continue. Thats extra activity and possible user errors.
Well you can use

Code: Select all

SYNCOPEN MySyncProfile
on a button or elsewhere.
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

yepp, thanks, ehm... I should have used my brain first.
;-)

After all that good work for TC7, Christian has to save some
work for a next version. Maybe we get a button in TC8....
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Ok, I used my brain, tried it, does not work.
Tried as on a buttonbar icon, and as a startmenu item.

Found a bug?

SYNCOPEN Standard

[SyncOptions]
Standard_Wcs=*.*
Standard_Flags=1|61|6

Also tried some others, no success.

Peter
User avatar
petermad
Power Member
Power Member
Posts: 14899
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2peterb
It works fine (loading the saved sync name) with my TC7pb3.

Tested with:
Buttonbar
Start menu
Main menu (using an extended command ([em_syncopen] cmd=SYNCOPEN Standard).

The only place where SYNCOPEN doesn't work is in the command line.
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
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

petermad,
thanks for testing and info.

So whats the magic, what might be the reason that it does not work here?
(WinXPpro SP1, and Win98se)

I do not know how to try it in main menu, no experience
with extended menus [em_...]. Any short guidance?
Or a sample entry for Wcmd_xxx.mnu
Do I need to have usercmd.ini defined?

Peter
User avatar
petermad
Power Member
Power Member
Posts: 14899
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2peterb
Could you send a screenshot of how you have set it up in your Start menu ?
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
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

petermad,
screenshots for startmenu and buttonbar.
I also tested english language, same issue.
Not sure what I am doing wrong.
Loading a set using the icon in the sync GUI works ok.

On Win98se, apart from this issue, I noticed another behaviour.
When saving a set, TC always asks "do you want to overwrite"
even if there are no entries yet, or netry does not exist.

Enjoy weekend,
Peter

http://www.drivehq.com/file/DF.aspx/start-menu.jpg?isGallery=&share=&shareID=0&fileID=26375890&pay=&sesID=chpttw45eequho3jfhsagaza
http://www.drivehq.com/file/DF.aspx/buttonbar.jpg?isGallery=&share=&shareID=0&fileID=26375886&pay=&sesID=chpttw45eequho3jfhsagaza
http://www.drivehq.com/file/DF.aspx/load_sync.jpg?isGallery=&share=&shareID=0&fileID=26375889&pay=&sesID=chpttw45eequho3jfhsagaza
Last edited by peterb on 2007-01-28, 00:12 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14899
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, everything looks alright, so this is a bit of a mystery.

Could you try to start your TC with a blank ini file (totalcmd.exe /i=..\new.ini) and try setting it up again, without changing any other settings?

Hint: if you remove the Image: ... tags in the previous post, then the links will be clickable.
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
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

Ok, did a clean install, all default, no changes to settings, english.
WinXPproSP2 german, on VMware.

Same issue.

Also, I noticed another issue (all installs, XP and Win98se)
SYNCOPEN setname ignores the "only selected (in main window)"
settings (but can be clicked), whereas cm_FileSync keeps
all last used settings.

Can somebody else try this SYNCOPEN function?
If any of the issue is reproducable, it is a bug.

thanks
Peter
peterb
Junior Member
Junior Member
Posts: 73
Joined: 2004-01-15, 13:49 UTC

Post by *peterb »

More info: there might be several misunderstandings.
I just got confirmation from my brother.
But, after some misunderstandings..... ;-)

Procedure
(you may do a compare after each step, makes no difference)
1. set left right window to some directories
2. call cm_FileSync, set options:
asymmetric -no, subdirs -yes, by content -no, ignore date -no
left-right -down, equal -up, unequal -down, right-left -down
duplicates -down, singles -down
3. save set to list: standard, paths -no, sync -yes, display -yes
4. exit filesync tool
5. call cm_FileSync again, set some weird ;-) options
6. exit filesync tool
7. call cm_FileSync: all settings are as in 5. (thats normal, ok)
8. load standard from list: all settings back as in 2. (thats ok)
9. set some options as in 5.
10. exit filesync tool
11. make a button or startmenu entry: SYNCOPEN standard
12. open sync tool using new button or new startmenu entry
13. options are not switched back to "standard" set

I expected step 13. to set everything back to standard set.
Is this a bug or a debatable feature?

Regarding the "only selected (in main window)" tick box:
If using a set which contains paths, then it does not make
sense for tcmd to check for selected files/dirs, ok as it is.

But if a set is as in 2., then it uses current dirs (no paths
saved in set) and could use selections from current 2 windows.
This is how cm_FileSync function works. It is debatable for
SYNCOPEN. It makes the function more complicated if it has
to check the called set if it has saved paths or not.
I think Christian has enough to do, so ignore it.
(or it makes it into tcmd 8...)

Peter
User avatar
petermad
Power Member
Power Member
Posts: 14899
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can now confirm your step 1-13 :-)

Previously I had only checked to see if the paths was restored when
using SYNCOPEN Standard, but I didn't check for the other elements.

It seems that Standard_Wcs=, Standard_L= and Standard_R= are restored
all right when using SYNCOPEN Standard, but Standard_Flags= is NOT restored.

I have now filed a Bug report: http://ghisler.ch/board/viewtopic.php?p=112515#112515
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
Post Reply