Wish: Packing -saving default format

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Wish: Packing -saving default format

Post by *djk »

I've got a small suggestion for a new version of TC.

Usually, for packing I use .zip format. That's simple:
- I check the files,
- press Alt_F5,
- Enter
and... that's all. :-).

Sometimes, very seldom, I need to use another format (very often: just .lst). And that's also very simple:
- check the files,
- Alt_F5,
- change the format,
- Enter
and... that's all. :-)

As I use packing function very often, I of course almost don't look at the screen.
But next time... when I again want to pack my files (to my typical .zip format)... I've got a problem. Very often I just forget to change again the format and instead of .zip archive file I've got for example .lst file :-(

My suggestion: It would be good to :

or - add a button to the packing form (after pressing Alt_F5) - "Make the format default" and then even if the format was changed once, the next time the default one would be chosen.

either - add a parametr to packer options - "Default format".
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

WOW, I have had the same problem: I also mostly use ZIP but sometimes I make a LST of a CD.

After I made the LST file I either
[a] try to change the packer directly back to ZIP. But the radiobutton will not stay at ZIP unless you have make a new archive with it (if you press cancel, the LST option we remain). So first I make some random archive (and delete it) to have the packer option stay at ZIP. :(
or
sometimes I forget to change the packer back to ZIP and I discover at a later time when I pack some files that I have made all LST files and not ZIPs. Then I have to search the HD for other possible false archives I made before I discovered this mistake. :(

solution:
I would like an "apply" button on the packer dialog (alt-f5) so after I make a LST archive, I can choose alt-f5 again and select ZIP and "apply it" and cancel (so the ZIP type will be used at the next packing instance)
...BRB...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, interesting idea. Would it help if TC remembered ZIP when you press cancel?
Author of Total Commander
https://www.ghisler.com
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

ghisler(Author) wrote:Hmm, interesting idea. Would it help if TC remembered ZIP when you press cancel?
it would,
but technically this would not be a "neat" solution:

... Would the remembering of changes when pressing Cancel only be for the 'packer type' or also for the other options (multiple disk, move to archive, encypt etc) ? if so, then Cancel would accually be an Apply button. Thus only the packer type must be remembered

... But what if somebody changes the packer type and then changes his mind and decides to press Cancel with the intention to restore the previous option. This would not happen.

IMO 'cancel' should only be used to discard all changes, adding an "apply" button is more correct [and I think there is just enough room for one extra button ;)]
...BRB...
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Maybe the button "Make it defalut" or "Remember current configuration" would be the right solution. It would save the current set of format and other options when you press it. If not the previous configuration (previous saved) would be called in the next packing.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Pradera
Junior Member
Junior Member
Posts: 25
Joined: 2003-04-10, 12:12 UTC
Contact:

Post by *Pradera »

[quote="djk"]Maybe the button "Make it defalut" or "Remember current configuration" would be the right solution. It would save the current set of format and other options when you press it. If not the previous configuration (previous saved) would be called in the next packing.[/quote]

Just a note: it has to be a checkbox. Otherwise, to clear the default status (which would be handy, wouldn't it), we'd need a second button - too much space wasted.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

I have the same problem. My vote for "Set as defalut" button.
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

I prefer current TC behaviour when it automatically remembers all options, so I don't want to press "Set As Default" button every time I use Pack function.
So, Christian, whatever you decide to implement to provide this new requested feature, please provide the posibility to select old good behaviour for users like me.

One more idea for this new feature (to have "backward compatibility":)): how about adding new INI parameter, say ForcePackerType=extension (e.g. =zip, =rar, =7z, and so on)? If this parameter is absent in INI we have old behaviour, if it is present we have specified archiver selected each time Alt+F5 is invoked.
If someone needs other options to be forced, set of such INI parameters can be created (ForceMove, ForcePath, ForceRecurse, etc).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

how about adding new INI parameter
Yes, this would be a solution, but most people don't know about ini parameters, so it would be for experts only.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

;)
As it usually is.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
vserd
Junior Member
Junior Member
Posts: 27
Joined: 2005-04-26, 13:30 UTC

Post by *vserd »

IMO. If introduse "Format" option, its should work with ANY archive, as buildin (handled TC internally) and as via plugin. Each archive type must have our history, and ~10 items depth
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Over 2 and half of the year and... :-(
Maybe in the next version, Christian? ;-)
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Molecule
Junior Member
Junior Member
Posts: 54
Joined: 2005-11-20, 03:19 UTC

wipe (file destroyer) wcx-plugin becomes default (yikes!!!)

Post by *Molecule »

using 6.54 still --

Yikes!!

I use zip packer alot ...

when wipe packer plugin is installed, and run, BE WARNED that it will become the automatic default packer the next time packer is called

WOW!! ... I almost screwed myself up really good

I was sleepy and habitually went [alf]FP and almost hit Enter. Thank God I noticed that little dot down there. That would have been a major AWEFUL.

With more fear in my heart than I can tell, I heartly recommend that a TC user who wants to declare a default packer for his habitual uses, in an ini somewhere, be allowed to do so.
--platonic solids begin with sexagesimal-modulated rotational action --with negentropic bindings at nodal points --artifacts of congruence and similitude of harmonic-geometric forces within the ætheric and real domains --the tetrahedron for example
Post Reply