Page 1 of 1

[Implemented] Change to implementation of command ZIPFROMLIST

Posted: 2020-05-17, 14:34 UTC
by petermad
As it is now the command ZIPFROMLIST only supports the name of the archive in the command field of buttons and em_commands.

Button example:

Code: Select all

TOTALCMD#BAR#DATA
ZIPFROMLIST -o SELECTEDFILES.zip
%Y%F
wcmicons.dll,30
Pack marked files directly to SELECTEDFILES.zip

0
-1

It would be nice if the name of the file could also be put in the parameters field, so that the archive name could be created dynamically, like:

Code: Select all

TOTALCMD#BAR#DATA
ZIPFROMLIST -o
"%O.zip" %Y%F
wcmicons.dll,30
Pack marked files directly to archive with name as file under cursor

0
-1
To make the buttons:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".

Re: Change to implementation of command ZIPFROMLIST

Posted: 2020-05-18, 16:34 UTC
by ghisler(Author)
Thanks for the suggestion, that should be doable.

Re: Change to implementation of command ZIPFROMLIST

Posted: 2021-03-13, 03:35 UTC
by petermad
history.txt wrote:08.06.20 Added: Improved ZIPFROMLIST command: The file list name can now contain Unicode characters, and the content can be ANSI, UTF-16 (with byte order marker BOM) or UTF-8 (with or without BOM) (32/64)
08.06.20 Added: Improved ZIPFROMLIST command: The archive name can now also be put in the parameters field. In this case, it must be surrounded by double quotes "" if it contains spaces. Parameters like -o must still be in the command field (32/64)
07.06.20 Fixed: F5 copy between drives -> footer in source window wasn't updated (64)
Thanks for implementing this :-)