Page 2 of 2

Posted: 2015-03-05, 11:29 UTC
by ghisler(Author)
Can you give an example how this could be handled with %A parameter? How should the command look like?

Posted: 2015-03-05, 14:12 UTC
by MVV
There are some examples of passing parameters to internal commands with parameters via em-commands:

Code: Select all

[em_MultiRename]
cmd=MULTIRENAME
param=%A
[em_LoadSearch]
cmd=LOADSEARCH
param=%A
With such commands I can use tools like TCFS2 for opening rename or search templates, etc.:

Code: Select all

TCFS2 /ef "tem(`em_LoadSearch MySearch`)"
New command could work in same way accepting a parameter for packer extension so it could be used either from TC buttonbars (e.g. OPENARCHIVE 7Z or OPENAS 7Z) or from external tools e.g. in order to open a popup.

Posted: 2016-06-09, 09:53 UTC
by MVV
Will there be a command or feature for selecting packer plugin for opening archive in TC 9?

Posted: 2016-06-09, 10:46 UTC
by ghisler(Author)
The method with internal associations should work now. Example: 7z files, you have 7zip and total7zip plugins installed.

1. Internal associations, add, *.7z
2. Set "open" verb to preferred plugin, e.g. **total7zip
3. Add a verb, e.g. "7zip plugin", and set to: **7zip

Now you can open it with ENTER with total7zip, and context menu key - "7zip plugin" with the 7-zip plugin.

Or alternatively, just add two additional verbs and leave default open empty to not change default association.

Posted: 2016-06-09, 17:13 UTC
by MVV
As it was discussed before, internal associations is a bad choice because TC can't inherit menu items from multiple presets. So one will have to add a bunch of such **total7zip items to every internal associations preset...

So internal command with parameter would be much better.

Re: Choose which WCX plugin to use to open an archive

Posted: 2024-10-28, 20:05 UTC
by mihail_ms
**total7zip doesn't work, has something changed?

Re: Choose which WCX plugin to use to open an archive

Posted: 2024-10-28, 22:34 UTC
by Gral
What do you mean by "doesn't work"?
Did it work on the same configuration before?
On which version of TC did it work, since which it doesn't?
What operating system are you using, version and bitness?
Is "total7zip" plugin installed, and properly configured?

Re: Choose which WCX plugin to use to open an archive

Posted: 2024-10-29, 12:43 UTC
by petermad
2mihail_ms

This is how I have implemented it:

Code: Select all

[PackerPlugins]
7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7zip_7z=735,%COMMANDER_PATH%\PLUGINS\wcx\Total7zip\Total7zip.wcx
7z_7z=223,%COMMANDER_PATH%\PLUGINS\WCX\7zip\7zip.wcx

[Associations]
Filter1=*.7z
Filter1_open=**
Filter1_Internal 7-Zip=**internal_7z
Filter1_Total7zip plugin=**7zip_7z
Filter1_7zip plugin=**7z_7z
Change Filter1 to the number of your filter. Remove 7z_7z entries if you don't have the 7zip plugin installed

Right-click on a .7z file - then you will see these 3 options in the top of the context menu for opening the file:

Internal 7-Zip (*.7z)
Total7zip plugin (*.7z)
7zip plugin (*.7z)

When you have opened the .7z file you can right-click on a file to check which has opened the file at "Packer:"

Re: Choose which WCX plugin to use to open an archive

Posted: 2024-10-31, 16:23 UTC
by mihail_ms
Я понял спасибо. трудности перевода надо расширение писать , а не имя плагина..

Moderator message from: white » 2024-10-31, 17:12 UTC

Translation:
I understand, thank you. Translation difficulties, you need to write the extension, not the plugin name.
2mihail_ms
Please only use English in this subforum.