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: white, Hacker, petermad, Stefan2

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

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

Post by *Fla$her »

2MVV
One more problem (noticed long ago): if you set checkboxes via $f1 in TC dialogs, then TC ignores it (only the focus on the checkbox and the space works). For example, set the cursor to the archive in TC x32 and execute the following command:

Code: Select all

TCFS2.exe /ef tcm(509,1) eval(settext(,findwnd(TAltEdit,,findwnd(TDLGUNZIPALL)))) sendmsg(findwnd(TCheckBox,,findwnd(TDLGUNZIPALL)),$f1,1)
You can see that the bottom checkbox is checked, but after confirmation, a folder with the base archive name is not created.

P. S.: It's high time to post TCFS2Tools 1.4.4.220 and update the link on the sites.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

2Fla$her
This works (via $F5):
TCFS2.exe /ef tcm(509,1) eval(settext_wait(,findwnd(TAltEdit,,findwnd(TDLGUNZIPALL)))) sendmsg(findwnd(TCheckBox,,findwnd(TDLGUNZIPALL),0),$F5)
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

Hmm. Confirm. But the author himself suggested using exactly $F1 for checkboxes.
By the way, adding 0 is not required, since it is used by default.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

$F1,1 works, too. The main thing is to use settext_wait.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

If it worked, I wouldn't write about it. And it's not about _wait at all, otherwise it would be about setting the flag, and not the result of execution.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

Confirm. Mistakenly checked only the setting of the flag.
At the same time, everything is fine with $F5.
But the author himself suggested using exactly $F1 for checkboxes.
Here is a radio button, not a checkbox.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

sa16 wrote: 2023-02-26, 19:55 UTCHere is a radio button, not a checkbox.
You're confusing stuff. There are no radio buttons at all in this dialog.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

I agree. However, this checkbox has only 2 states, not 3 (it is possible that it is for 3 states that $F1 is used with wParam: 0,1,2).
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

sa16 wrote: 2023-02-28, 09:38 UTCit is possible that it is for 3 states that $F1 is used with wParam: 0,1,2
One of these 3 values is used here. 1 is responsible for setting the checkbox. 0 is intended for removal, 2 for darkening.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

Is it possible to darken this checkbox manually, without utilities?
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

Without - impossible. With TCFS2 it's easy.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

Fla$her wrote: With TCFS2 it's easy.
I am aware, but I do not see the point in this.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

The question was not about the point but about the possibility.
However, the need may be to eliminate the potential with a accidental choice of an unreliable option (deletion or rewriting, for example).
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

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

Post by *sa16 »

sa16 wrote: it is possible that it is for 3 states that $F1 is used with wParam: 0,1,2
I tried $F1 on a checkbox with 3 states - only an imitation of work (as with 2).
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

Yes, confirm. Here, perhaps, it is easier to remove the option: $0B,0 instead of $F1,1.
Overquoting is evil! 👎
Post Reply