Compact in the same directory

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
samot
Junior Member
Junior Member
Posts: 56
Joined: 2003-02-21, 11:53 UTC
Location: Koblenz, Germany
Contact:

Compact in the same directory

Post by *samot »

I'd like to have a shortcut (f.e. Shift-Alt-F5) to zip the selected files into a Zip file in the current directory (analog to Shift-F5 / Shift-F6 to copy / move in the same directory).

If not possible Shift-F5 in the Pack-Files dialog could mark the whole directory excluding the "zip:" and the filename (currently F5 marks the filename, filename + ext, whole entry including the "zip:")

best regards

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

Post by *Mikefield »

I've reported it here in a different thread, please use Strg-F5 instead, this works.

mf
Bankster - Word of the Year 2009
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Compact in the same directory

Post by *HolgerK »

samot wrote:I'd like to have a shortcut (f.e. Shift-Alt-F5) to zip the selected files into a Zip file in the current directory (analog to Shift-F5 / Shift-F6 to copy / move in the same directory).
Pack file to current dir wrote:

Code: Select all

[Shortcuts]
CA+F5=cm_PackFiles
CAS+F5=cm_PackFiles 
HTH
Holger
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka/Makiivka
Contact:

Re: Compact in the same directory

Post by *LonerD »

Bump.

Now we have commands cm_CopyToArchive and cm_MoveToArchive (Shift+Alt+F5).
But still missing cm_ for Ctrl+Alt+F5 (Pack files to current directory) and Shift+Ctrl+Alt+F5 (Pack to current dir, del. original)
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Fla$her
Power Member
Power Member
Posts: 2388
Joined: 2020-01-18, 04:03 UTC

Re: Compact in the same directory

Post by *Fla$her »

LonerD wrote: 2023-05-16, 11:32 UTC But still missing cm_ for Ctrl+Alt+F5 (Pack files to current directory) and Shift+Ctrl+Alt+F5 (Pack to current dir, del. original)
It has already been discussed:
ghisler(Author) wrote: 2023-05-02, 08:33 UTC
7. cm_CopyToArchive and cm_MoveToArchive, but to the directory of the active panel
I think I will have to add more parameters here, as for cm_copy.
Overquoting is evil! 👎
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3311
Joined: 2003-05-06, 11:46 UTC

Re: Compact in the same directory

Post by *Sir_SiLvA »

LonerD wrote: 2023-05-16, 11:32 UTC Ctrl+Alt+F5 (Pack files to current directory)
Shift+Ctrl+Alt+F5 (Pack to current dir, del. original)
I cant find these shortcuts anywhere nore do they work?
Hoecker sie sind raus!
User avatar
Stefan2
Power Member
Power Member
Posts: 4193
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Compact in the same directory

Post by *Stefan2 »

Sir_SiLvA wrote: 2023-05-16, 12:38 UTC
LonerD wrote: 2023-05-16, 11:32 UTC Ctrl+Alt+F5 (Pack files to current directory)
Shift+Ctrl+Alt+F5 (Pack to current dir, del. original)
I cant find these shortcuts anywhere nore do they work?


You have to add this to your wincmd.ini first

[Shortcuts]
CA+F5=cm_PackFiles ; Ctrl+Alt +F5 will pack to an archive into the same directory
CAS+F5=cm_PackFiles ; Ctrl+Alt+Shift+F5 will MOVE files to an archive in the current panel.


And for others reading this:
Alt+Shift+F5 will MOVE files to an archive in the opposite panel.
Ctrl+F5 sorts by date/time.
Alt+F5 calls the default pack dialog



Can be found deep in the forum or history.txt, it's a secret, passed on from father to son since primeval times

 
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3311
Joined: 2003-05-06, 11:46 UTC

Re: Compact in the same directory

Post by *Sir_SiLvA »

Stefan2 wrote: 2023-05-16, 13:32 UTC You have to add this to your wincmd.ini first
[Shortcuts]
CA+F5=cm_PackFiles ; Ctrl+Alt +F5 will pack to an archive into the same directory
CAS+F5=cm_PackFiles ; Ctrl+Alt+Shift+F5 will MOVE files to an archive in the current panel.

Can be found deep in the forum or history.txt, it's a secret, passed on from father to son since primeval times
@Stefan2: Thank you for that information!

@Ghisler: can we get that info added to keyboard/tasten/ect.txt?
(and when you do that you can finally add in there ALT+SHIFT+F6 (same as ALT+SHIFT+F9 cause ALT+SHIFT+F6 doesnt work under Win95) please?)

Stefan2 wrote: 2023-05-16, 13:32 UTC Alt+Shift+F5 will MOVE files to an archive in the opposite panel.
Ctrl+F5 sorts by date/time.
Alt+F5 calls the default pack dialog
those are all inside keyboard/../.txt
Hoecker sie sind raus!
User avatar
petermad
Power Member
Power Member
Posts: 14913
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compact in the same directory

Post by *petermad »

Thank you for that information!
Not exactly new information: https://www.ghisler.ch/board/search.php?keywords=cm_PackFiles&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search

But maybe it is time for those two keyboard shortcuts get added to TC's default shortcut keys.

And maybe cm_PackFiles should support parameters 1, 2 , 3 (move other panel, pack same panel, move same panel)
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