TCFS2 + TCFS2Tools: Full-screen mode for TC etc

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

Moderators: petermad, Stefan2, white, Hacker

Post Reply
Fla$her
Power Member
Power Member
Posts: 2886
Joined: 2020-01-18, 04:03 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *Fla$her »

2yahuu
A1: Even if you enclose the entire expression in eval(..), both commands will be executed in the evaluation and you will get the wrong result. And in any case, it would not give any advantage in saving space if you care about it.
OFF: In Autorun, this problem was solved immediately, as you can read in the description of Ternary operator on the Expressions page.
Q1a: What is the difference between em_ToZipWith7z1 and em_ToZipWith7z2 commands? Isn't it easier to pass one parameter to them?
Q1b: Why do you want to pack an unmarked object under the cursor?

A2: No. But you can pack with TC itself. Example: cm_PackFiles /AGO4Z9E="7z"
This is also possible in Autorun (GetSelectedItems + ShellExec).
Personally, I've been using my scripts for a long time because of the best options.
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 114
Joined: 2015-01-15, 03:19 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *yahuu »

Fla$her wrote: 2024-12-16, 13:54 UTC Q1a: What is the difference between em_ToZipWith7z1 and em_ToZipWith7z2 commands?
em_ToZipWith7z1 handles single selection, em_ToZipWith7z2 handles multiple selections.

For single selection, it uses its own name for compression; for multiple selections, it uses the parent directory name for compression.
License #301983 (2016)
TC 11.03 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1385a
Autorun 2.2.14.1
Fla$her
Power Member
Power Member
Posts: 2886
Joined: 2020-01-18, 04:03 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *Fla$her »

yahuu wrote: 2024-12-17, 15:32 UTC for multiple selections, it uses the parent directory name for compression.
But you wrote:
I want to compress each selected file into a separate archive.
An additional counter is required for common name and multiple selection. Have you implemented this in the script? Can you show the code?
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 114
Joined: 2015-01-15, 03:19 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *yahuu »

Fla$her wrote: 2024-12-16, 13:54 UTC Q1a: What is the difference between em_ToZipWith7z1 and em_ToZipWith7z2 commands? Isn't it easier to pass one parameter to them?

Q1a-a:
for multiple selections, it uses the parent directory name for compression.
I asked two questions before, and this is a response to your question regarding question 1.


For question 2, regarding separate archive, I hope to implement it using tcfs2, but I haven't thought of a solution yet. However, I have already achieved the purpose using autorun.

Before version 11.03, I didn't use the built-in 7z compression of TC, and using tcimg to call 7zg.exe was too slow, so I hoped to implement it using tcfs2.

If tcfs2 supports traversing %L, then it would be possible to sequentially call an em command for compression.
License #301983 (2016)
TC 11.03 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1385a
Autorun 2.2.14.1
Fla$her
Power Member
Power Member
Posts: 2886
Joined: 2020-01-18, 04:03 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *Fla$her »

2yahuu
For these tasks, you don't need TCFS2 or anything else. Just use cm_PackFiles /GO4Z9E="7z" for the first task or cm_PackFiles /AGO4Z9E="7z" for the second.
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 114
Joined: 2015-01-15, 03:19 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *yahuu »

After version 11.5, I will use it this way, thank you.
License #301983 (2016)
TC 11.03 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1385a
Autorun 2.2.14.1
dogfight
Junior Member
Junior Member
Posts: 5
Joined: 2025-03-11, 09:40 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *dogfight »

I am trying TCFS2Tools but could not figure out how to install it. The downloaded zip file contain only 2 DLL file for 32 and 64 bits versions. In the readme file it says there are 2 ways to install it.

"4. Loading module on TC start

There are at least two ways to load module on TC start. First way is to register TCFS2Tools.dll as WDX plugin and to define special 'color by file type' preset (Configuration, Color, by file type, Add, Define, Plugins tab, "TCFSTools.Autorun > 0", save with any name, select any color, apply all changes) to cause TC to load TCFS2Tools automatically.

You may also use Autorun.wdx content plugin in order to load HideMenu module on TC start. You need to add following line to Autorun.cfg file:

LoadLibrary "X:\Path\To\TCFS2Tools.dll""


The first way, install as WDX plugin, I dont know how, as it contains only 2 DLL files.
2nd way: where is the Autorun.wsx plugin?

Pls help me!

Also in the TCFS2Tools readme file, I dont know how to use it?
Fla$her
Power Member
Power Member
Posts: 2886
Joined: 2020-01-18, 04:03 UTC

Re: TCFS2 + TCFS2Tools: Full-screen mode for TC etc

Post by *Fla$her »

2dogfight
Read from here onwards.
Overquoting is evil! 👎
Post Reply