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

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: hide menu

Post by *white »

LEENO wrote: 2024-09-28, 17:38 UTC hallo removed TCFS2Tools, in commandline entered:
Removed? It says TCFS2Tools is needed for hiding main menu bar. BTW, I have no experience with this program, so let's wait till someone responds who knows what he is talking about ;)

Moderator message from: white » 2024-09-28, 18:16 UTC

Merged topic "hide menu" into topic
» TCFS2 + TCFS2Tools: Full-screen mode for TC etc
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

2LEENO
In this topic, the ways to install TCFS2Tools were discussed in detail.
Overquoting is evil! 👎
LEENO
Junior Member
Junior Member
Posts: 4
Joined: 2024-09-28, 09:59 UTC

Re: How-to use wincmd.ini form TC folder (portable USB mode)?

Post by *LEENO »

hallo
at first launch TCFS2 is working with this configuration:

wincmd.ini

Code: Select all

[ContentPlugins]
0=C:\totalcmd\plugins\TCFS2\TCFS2Tools.dll
1=C:\totalcmd\plugins\WDX\Autorun\autorun.wdx
autorun.ini

Code: Select all

LoadLibrary "%COMMANDER_PATH%\Plugins\TCFS2\TCFS2Tools.dll"
ShellExec "%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe" "/ei mm0"
then i close and reopen totalcommander, and TCFS2Tools.dll again not registered, untill i remove
0_detect=
1_detect=
lines

auto added detect lines not working:

Code: Select all

[ContentPlugins]
0=C:\totalcmd\plugins\TCFS2\TCFS2Tools.dll
1=C:\totalcmd\plugins\WDX\Autorun\autorun.wdx
0_detect=
1_detect=
working:

Code: Select all

[ContentPlugins]
0=C:\totalcmd\plugins\TCFS2\TCFS2Tools.dll
1=C:\totalcmd\plugins\WDX\Autorun\autorun.wdx
how to prevent creation of lines
x_detect=
?

tryed this but not fixed

Code: Select all

0=C:\totalcmd\plugins\TCFS2\TCFS2Tools.dll
1=C:\totalcmd\plugins\WDX\Autorun\autorun.wdx
0_detect="EXT="DLL""
1_detect=
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: How-to use wincmd.ini form TC folder (portable USB mode)?

Post by *Fla$her »

LEENO wrote: 2024-09-30, 10:27 UTC how to prevent creation of lines
x_detect=
Nohow. TC has always created them for any wdx without native delect string. They can only be deleted using IniDelete.
Last edited by Fla$her on 2024-09-30, 16:53 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

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

Post by *white »

Moderator message from: white » 2024-09-30, 16:32 UTC

Moved 2 posts, starting with this one, to this topic.
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Please tell me how to adjust the column width of TMyListBox2 using TCFS2's SendMsg?
I want to adjust the width of the first column(file name).
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

2yahuu
Neither SendMsg nor TCFS2 will help here.
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Fla$her wrote: 2024-10-13, 17:17 UTC 2yahuu
Neither SendMsg nor TCFS2 will help here.
Sad.
So, similarly, the SendMessage function in AHK (AutoHotkey) is also not feasible, right?

Is there any way to achieve this? Total Commander does not support automatically filling the full width when dragging the separator, and I want to implement it through other means.
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

Like toolbar buttons, tab stops are part of a single control and are controlled by TC itself. There is hardly any hook that could affect this. Using TCFS2/Autorun or scripts, you can only open the settings page (cm_ConfTabChange), set the data there and apply it, but that's probably not what you need. In addition, it seems that you don't need a constant, but an automatic number detection by the longest name in the list, which is a completely non-trivial task, since it must take into account the font and its scaling settings.
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Okay, I gave up
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Can Findwnd find windows for third-party applications? Or only search for the sub window of TC.
such as tc_multi_comment_edit.exe

Code: Select all

ahk_class AutoIt v3 GUI
ahk_exe tc_multi_comment_edit.exe
ahk_pid 480
ahk_id 15012074
I tried findwnd(`AutoIt v3 GUI`) and the window is not found.
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

From ReadMe:
Retrieves a handle to the window with specified class name and window name belonging to working TC instance.
An addon is an addon.

And what is your goal regarding this utility?
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Fla$her wrote: 2024-10-21, 11:41 UTC And what is your goal regarding this utility?

Code: Select all

[em_CommentCompleted]
cmd=%COMMANDER_PATH%\TOOLS\TCFS2\TCFS2.exe
param=/ef "tcm(2700,1) eval(send_wait(`^a✔️`, findwnd(`TCmtEditForm`))) send(`{F2}`)"
TC's comments do not support multiple entries, so I want to use tc_multi_comment_edit.exe. Therefore, I can only use delay() or AHK.
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

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

Post by *Fla$her »

2yahuu
If you need to automatically create or replace a comment for the selected files, you don't need a third-party utility, just save settings (☑ Change plugin attributes: tc|comment|<your text>) in the "Change attributes" dialog (cm_SetAttrib) and use OPENATTRIBUTES=<Settings> in the button or user command.
yahuu wrote: 2024-10-22, 08:42 UTC Therefore, I can only use delay() or AHK.
Not only. Autorun, VBScript, JScript, AutoIt (see source for MCE) etc.
Overquoting is evil! 👎
User avatar
yahuu
Member
Member
Posts: 122
Joined: 2015-01-15, 03:19 UTC

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

Post by *yahuu »

Fla$her wrote: 2024-10-22, 12:58 UTC use OPENATTRIBUTES=
This method is simple and effective, thank you.
License #301983 (2016)
TC 11.51 32+64bit on 10 (21H2) 64bit, 'Everything' 1.5.0.1388a
Autorun 2.2.18.1
Post Reply