Choose which WCX plugin to use to open an archive
Moderators: Hacker, petermad, Stefan2, white
Choose which WCX plugin to use to open an archive
Hi Christian, all,
I'd propose that if there are several different packer plugins that are able to open an archive, TC would present us with a popup menu just like when there are several internal associations (cm_ContextMenuInternal). Perhaps the default (first) plugin could be used when pressing Enter and the menu would pop up when using Ctrl-PageDown.
Rman
I'd propose that if there are several different packer plugins that are able to open an archive, TC would present us with a popup menu just like when there are several internal associations (cm_ContextMenuInternal). Perhaps the default (first) plugin could be used when pressing Enter and the menu would pop up when using Ctrl-PageDown.
Rman
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.
I support possibility to chose packer plugin from full list for generic file, sometimes it would be handy. Feature to auto-ask for plugin should be tweakable (perhaps with cm_switch for turning it on/off). Ctrl+PgDn is used quite often for entering archives with another extension or SFX ones so I don't think it should be used specifically for selecting plugin.
I'd suggested to add new cm_command for entering archive with chosing plugin, it would be even better (shortcut may be assigned for it).
I'd suggested to add new cm_command for entering archive with chosing plugin, it would be even better (shortcut may be assigned for it).
Definitely support the idea with the new cm command for showing such menu.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
This can already be done - just make a button or usercommand with for example this cmd:opening focused file with specific packer plugin (something like OPENASMSI <filename> where last part is variable),
%COMMANDER_EXE% /S=L:Pimagine
to explicitly use the imagine plugin.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
petermad,
Here we are talking about packer plugins. How can one open some file using specific packer plugin? E.g. in order to list PE sections, resources or NTFS alternative streams?
I want to be able to tell to TC: "Hey, I wanna open this file as RAR/MSI/PE/etc archive, please do it". There are many packer plugins that may be applied to all files, so it is wrong to associate them with all files, but such ones may be useful in some cases. And, TC is already able to open files with plugins, but currently it enumerates plugins and asks which one can handle this file while it doesn't allow chosing plugin on user wish.
I know that internal associations allow creating context menu item calling specific plugin, but TC doesn't allow creating such menu items for all files, it doesn't mix menu items for different templates while it has been requested many times.
Here we are talking about packer plugins. How can one open some file using specific packer plugin? E.g. in order to list PE sections, resources or NTFS alternative streams?
I want to be able to tell to TC: "Hey, I wanna open this file as RAR/MSI/PE/etc archive, please do it". There are many packer plugins that may be applied to all files, so it is wrong to associate them with all files, but such ones may be useful in some cases. And, TC is already able to open files with plugins, but currently it enumerates plugins and asks which one can handle this file while it doesn't allow chosing plugin on user wish.
I know that internal associations allow creating context menu item calling specific plugin, but TC doesn't allow creating such menu items for all files, it doesn't mix menu items for different templates while it has been requested many times.
Last edited by MVV on 2014-01-08, 10:23 UTC, edited 1 time in total.
2MVV
Oops, my bad
Here we are talking about packer plugins.
Oops, my bad

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This can already be done by defining an internal association. Just define an extra verb, and set the command to **ext (with ext the extension for which the packer plugin is defined). From the help:
**ext
Use packer plugin defined for extension "ext" to view contents of file
**ext
Use packer plugin defined for extension "ext" to view contents of file
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2Hurdet
No, sorry, it can only be used for packer plugins. Why would you want to do this?
No, sorry, it can only be used for packer plugins. Why would you want to do this?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler,
What about implementing some command with parameters (packer extension and filename or at least packer extensions for opening focused file; it should be any feature allowing to use em-commands with %A parameter in order to create some drop-down bar with different packers) in a next beta?
There are a lot of cases when packers conflict, e.g. Vivaldi browser installer contains 7Z package and CAB stub in resources and TC opens it as a CAB but I want it to be opened as 7Z. Also sometimes multiarc conflicts with other archive types... So it would be very nice to have such command, and I'm sure it won't be hard to implement 'cause TC already supports it in internal associations.
What about implementing some command with parameters (packer extension and filename or at least packer extensions for opening focused file; it should be any feature allowing to use em-commands with %A parameter in order to create some drop-down bar with different packers) in a next beta?
There are a lot of cases when packers conflict, e.g. Vivaldi browser installer contains 7Z package and CAB stub in resources and TC opens it as a CAB but I want it to be opened as 7Z. Also sometimes multiarc conflicts with other archive types... So it would be very nice to have such command, and I'm sure it won't be hard to implement 'cause TC already supports it in internal associations.