F4 customization?
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 10
- Joined: 2005-05-26, 14:25 UTC
- Location: Moscow, Russia
F4 customization?
I'll try to explain what I want from Total Commander.
After selecting one file I'm pressing F4 (edit). By default, in TC, internal or external editor will be started. Whatever extension file have, the only one editor will be executed.
In DC (another commander I used before TC), there was another "editor stuff". For files, who have "EDIT" action in windows, the assosiated editor was executed. And only for files without "EDIT" action the default editor of DC was used.
in short, I want Total Commander to use "windows-assosiated" file extension-depended editor called by F4.
please help
After selecting one file I'm pressing F4 (edit). By default, in TC, internal or external editor will be started. Whatever extension file have, the only one editor will be executed.
In DC (another commander I used before TC), there was another "editor stuff". For files, who have "EDIT" action in windows, the assosiated editor was executed. And only for files without "EDIT" action the default editor of DC was used.
in short, I want Total Commander to use "windows-assosiated" file extension-depended editor called by F4.
please help
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- ghisler(Author)
- Site Admin
- Posts: 48079
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can use other verbs via the right click menu (Shift+F10).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 10
- Joined: 2005-05-26, 14:25 UTC
- Location: Moscow, Russia
No. That's not good to use. I mean it is not kinda comfortable. It was so good to push F4 and get the editor you have previously assosiated with that file in DC.... so I'd like to "teach" TC this trickghisler(Author) wrote:You can use other verbs via the right click menu (Shift+F10).
Hasta la vista, baby...
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
-
- Junior Member
- Posts: 10
- Joined: 2005-05-26, 14:25 UTC
- Location: Moscow, Russia
Yeah, THANKS! That's exactly what I was searching forSanskritFritz wrote:Maybe ChoiceEditor can help.
Hasta la vista, baby...
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
-
- Junior Member
- Posts: 10
- Joined: 2005-05-26, 14:25 UTC
- Location: Moscow, Russia
Choice Editor - is the tool that fits great. I have just tried and it gives me exactly what I wanted (using different editors for different extensions)
By the way, thanx for quick respond
ENTER calls default "OPEN" metod. For example, for WAV files, "OPEN" commands PLAYS file, and "EDIT" - opens it in editor. So there are two types of programs for each file extension. One to view, another - to edit.SanskritFritz wrote:BtW, what's wrong with pressing enter on a file?
By the way, thanx for quick respond
Hasta la vista, baby...
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
hm...Alt-F3 is little bit tricky workaround. TC consider it as viewer, i.e. when you modify file, TC will even not refresh panel when you close that editor/viewer. Sure, you can setup WatchDir what will solve problem but it does not work for files in FTP panel. If you will change file in this way in FTP panel, TC will not notice that and it will not prompt you for upload of changeSanskritFritz wrote:I am not so sure, it does not exactly what you want, but Alt-F3 does.Yeah, THANKS! That's exactly what I was searching for
Ado
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
2ado
How does it work with ChoiceEditor? I wonder because TC waits for the process to close and checks the filestamp. Now ChoiceEditor closes immediately after calling the editor, so i assume (have not tried it) you will have the same effect.
I dont really use any of those tricks, so maybe you want to check it.
How does it work with ChoiceEditor? I wonder because TC waits for the process to close and checks the filestamp. Now ChoiceEditor closes immediately after calling the editor, so i assume (have not tried it) you will have the same effect.
I dont really use any of those tricks, so maybe you want to check it.
I switched to Linux, bye and thanks for all the fish!
SanskritFritz
I use ChoiceEditor, and have no problems with updating the files. I checked - the ChoiceEditor is not closed until the editor it called is closed, so editing of files in TC works correctly.
I use ChoiceEditor, and have no problems with updating the files. I checked - the ChoiceEditor is not closed until the editor it called is closed, so editing of files in TC works correctly.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Wow, this tool deserves full attention. Based on your, AlphaOmega's and icfu's recommendation, i installed it, and yes it looks great. When I open a file on my local fileseystem, ChoiceEditor closes immediately, leaving the editor running. In contrast, when I open a file on an ftp, or zip file, ChoiceEditor waits for the editor to close, and closes only after, this way ensuring that the changes will be detected by TC. Wow. How does ChoiceEditor know that it has to stay? Maybe by looking on the path, if it is %TEMP%, then it knows it has to stay? ChoiceEditor is good stuff, respect.
I switched to Linux, bye and thanks for all the fish!