Total Editor (F3 View / F4 Edit Tool for Total Commander)

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
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Total Editor (F3 View / F4 Edit Tool for Total Commander)

Post by *Pawel »

I would like to introduce you TOTAL EDITOR - my implementation for Total Commander External Viewer/Editor.
Total Editor (TCEditor.exe) allows you to Open or Edit files with a specific extension (file type) in selected application, previously defined by the user. It works with Total Commander File Manager.

Total Commander File Manager support File View and File Edit actions. With Total Commander Editor you can customize the viewing/editing of different types of files in different applications. This allows you to create associations of files with a given extension with a specific application, independent of the operating system.

File View action is activated by pressing the F3 key on the keyboard (or F3 View button on the Function Key Bar). File Edit action is activated by pressing the F4 key on the keyboard (or F4 Edit button on the Function Key Bar). Total Editor (an external viewer/editor for Total Commander File Manager) interprets these commands appropriately and launches the appropriate program for the given file extension.

DOWNLOAD LINK: TOTAL EDITOR FOR TOTAL COMMANDER

INSTALLATION
Total Editor application (TotalEditor.exe) must be located in the root directory of Total Commander File Manager (where Totalcmd.exe is located). It works correctly in Windows 7/8/10/11. It supports 32-bit and 64-bit architecture. Use 64-bit application with 64-bit File Manager (in 64-bit Operating System) and 32-bit application in 32-bit File Manager (in 32/64-bit Operating System). For now, you have to place exe file in TC root directory manually. Maybe I will write some installer in future, that will copy proper file and register it in Total Commander.

More information / Description / How to use

Before use, Total Editor must be registered in Total Commander File Manager.
It can be done automatically or manually:

- Automatic registration
1. Open Total Editor with Total Commander File Manager (make sure, program is placed in Total Commander root directory).
2. Read displayed message and press "Yes" button to register it (add entries into TC configuration file)
3. Restart Total Commander File Manager
Notes: This question is asked only once.

- Manual registration
1. Close Total Commander File Manager
2. Open Total Commander Configuration File (wincmd.ini) and add/change below entries:

Code: Select all

[Configuration]
Viewer=""%COMMANDER_PATH%\TotalEditor.exe" /OPEN"
Viewertype=2
Editor=""%COMMANDER_PATH%\TotalEditor.exe" /EDIT"
Notes: Total Commander configuration file is located in the following location:
- Portable Installation (root directory): \Total Commander\wincmd.ini
- Normal Installation (user data directory): %APPDATA%\GHISLER\wincmd.ini

---
This tool was originally written for Ultimate File Manager project (called UFM Shell Manager). I decided to make it available for all Total Commander users. The tool was written in Delphi CE. It is distributed under Freeware license (no sources available).


Enjoy! Please, write your opinion, suggestions or report bugs.
Please Donate! Thanks.

-Pawel
Last edited by Pawel on 2024-03-14, 12:14 UTC, edited 12 times in total.
Fla$her
Power Member
Power Member
Posts: 2297
Joined: 2020-01-18, 04:03 UTC

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Fla$her »

ERROR 403
ACCESS DENIED!

You are not authorized to view this page.

You might not have permission to view this directory or page using the credentials you supplied. Go to the home page.
Last edited by Fla$her on 2024-02-23, 21:42 UTC, edited 1 time in total.
Overquoting is evil! 👎
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Pawel »

It should work... try again (I uploaded it to another server).
Fla$her
Power Member
Power Member
Posts: 2297
Joined: 2020-01-18, 04:03 UTC

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Fla$her »

The new link works. Thanks.

6/8 MB — isn't it too much for such tasks? F4Menu.exe — 41 Kb.
It doesn't start on XP. :(
Last edited by Fla$her on 2024-02-23, 21:42 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6481
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Horst.Epp »

Tested the x64 version.
It doesn't work.
I answered the question for editing a .txt or .ini file
but on the next try to edit a file the questions are asked again.
The TCEditor.ini doesn't contain any entries about file types.
Of course, the file is writable as the TC home-dir is under c:\tools\wincmd.

Here are the contents of the ini file

Code: Select all

[MISC]
RegAskDone=1
OptionsTabIndex=0
BrowseLastDir=C:\Tools\Wincmd

[LANG]
Lang=1033

[GENERAL]
DarkMode=1
UseAlphaBlend=0
AlphaBlendValue=255
AlwaysOnTop=0
RemWindowSize=1
CloseOnAppLaunch=1
ShowAppsHint=1
SelectItem=0
ShowSettingsBtn=1
ShowAboutBtn=1

[LIST]
ShowAppsIcons=1
UseIconsCache=1
ViewStyle=0
IconSize=2
SortType=0
BkgColor=-16777211
FontColor=-16777208
FontName=Tahoma
FontSize=8
FontStyle=0
FontCharset=0

[DEFAULT]
WndHeight=625
WndWidth=675
ShowHeader=1
HeaderBkgColor=-16777201
HeaderTextColor=-16777208
ShowFooter=1
FooterBkgColor=-16777201
ShowAddAppBtn=1

[FILE]
WndHeight=625
WndWidth=675
ShowHeader=0
HeaderBkgColor=-16777201
HeaderTextColor=-16777208
ShowFooter=1
FooterBkgColor=-16777201
ShowGroupView=1
ShowGroupHeader=1
ShowGroupDesc=1
CollapseGroup=0

[DIR]
ShowDirInfo=1
WndHeight=625
WndWidth=675
ShowBytesSize=1
UseThousandsSeparator=1
HighlightInfo=1
AccentColor=15174705
UseLineChart=0
ChartDataColor=11103796
ChartBkgColor=8421504
ShowHeader=1
HeaderBkgColor=-16777201
HeaderTextColor=-16777208
ShowFooter=1
FooterBkgColor=-16777201
SaveInfoDir=..\..\Users\horst\Desktop
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Pawel »

@Fla$her
File is generated in Delphi. It also contains all stuff in resources. Yes, size is not small, but I don't care.
App is not supported on XP!

@Horst.Epp
Have you read (description)

All applications data are stored in TCEditorApps.ini file (main config file - TCEditor.ini, stores only app options).

To force direct open/edit file with app you have to use menu option:
https://ibb.co/w0vWrDy

You can also add extension for application (and make it opened directly) using:
https://ibb.co/M21J9qZ

Just play with it, and you will understand how it works.
-Pawel
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6481
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Horst.Epp »

Pawel wrote: 2024-02-22, 17:27 UTC @Fla$her
File is generated in Delphi. It also contains all stuff in resources. Yes, size is not small, but I don't care.
App is not supported on XP!

@Horst.Epp
Have you read (description)

All applications data are stored in TCEditorApps.ini file (main config file - TCEditor.ini, stores only app options).

To force direct open/edit file with app you have to use menu option:
https://ibb.co/w0vWrDy

You can also add extension for application (and make it opened directly) using:
https://ibb.co/M21J9qZ

Just play with it, and you will understand how it works.
-Pawel
Even defining extensions for an editor
it still asks for the application on the next try to edit a file.
Also, for me the logic is unnecessarily complicated, the first try to edit a file should start the application setting.
I'll stop here.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Pawel »

We are here to improve the tool and make it good for all.

So, you suggest the following, as I understand.

User want to open a file with txt extension in application. It was never opened before.
So, Total Commander Editor displays window with all applications that can open the file. If user choose (for example) Notepad++ it will automatically open it AND SET AS DEFAULT (so in next time it will open it directly, without showing GUI).
Now, it just set is as preffered app and user have to manually set direct opening.

EDIT:
You are right. I have just added an option to change that.
https://ibb.co/3mD9FLD
If you select checkbox, at the bottom of window then opened file with given extension will be always opened in selected application.


-Pawel
User avatar
eltome
Junior Member
Junior Member
Posts: 57
Joined: 2023-07-29, 15:54 UTC
Location: Warmian-Masurian Voivodeship

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *eltome »

Good.

Just check this -
Readme.txt , last line wrote: More Info: http://localhost/ufm/Internal/TCEditor_en.php
#388479
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6481
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Horst.Epp »

Pawel wrote: 2024-02-22, 17:57 UTC EDIT:
You are right. I have just added an option to change that.
https://ibb.co/3mD9FLD
If you select checkbox, at the bottom of window then opened file with given extension will be always opened in selected application.
-Pawel
Much better now :)

Now I'm trying to understand why my Editor (PSPad) opens files with other settings than my normal ones.
It looks like it doesn't use its stored options.

Btw. I switched off the Viewer mode, I have a complete set of viewers and associated extensions.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Commander Editor (F3 View | F4 Edit Tool)

Post by *Pawel »

24.02 2024
Total Editor v1.0.2.2024
- Changed file archive into 7zip archive
- Fixed server download issues (thanks Fla$her, petermad)
- Added option to set file type to be opened directly in given application (thanks Horst.Epp)
- Fixed Apps Hotkeys (available in Application manager View)
- Fixed Readme.txt file (thanks eltome)

If you have any idea, functionality to implement or find a bug, please report it.
-Pawel
Last edited by Pawel on 2024-02-26, 17:39 UTC, edited 1 time in total.
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Editor (F3 View / F4 Edit Tool for Total Commander)

Post by *Pawel »

26.02 2024
Total Editor v1.0.2.2024
- Renamed Program Name - TOTAL EDITOR (TotalEditor.exe)
- Changed application parameters OPEN_FILE -> OPEN / EDIT_FILE -> EDIT
- Added hint for file (F3/F4 Mode) [w.i.p]
Pawel
Junior Member
Junior Member
Posts: 82
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: Total Editor (F3 View / F4 Edit Tool for Total Commander)

Post by *Pawel »

14.03 2024
Total Editor v1.0.4.2024
New: Possibility to Drag'n Drop Executable Files (apps) into list
New: Possibility to Drag'n Drop Directories (with Executable Files) into list
New: Option to display basic info in apps list (Default Mode)
New: Possibility to show Copy/Save buttons in window footer (Disk/Directory Info Mode)
New: Possibility to display buttons in normal (or small) size (only for DPI=96)
Updated: Support for hints for opened/edited files (F3/F4 Mode)
Misc: Fixed known issues

Notes: Go to the first post in this thread to read more / get download link
Post Reply