Page 1 of 1

alternate editors choice

Posted: 25.01.2012, 21:10
by isto
Hi

It would be great if it is possible to have an alternative editor choice.

I mean when we have following records into ini file
*.txt notepad.exe
*.txt notepad2.exe

and when F4 is pressed instead selected file to be open with the notepad.exe (1st in the sample editor's list)
a dialog to popup allowing to chose which of the editors to use.

Thank you for the great work
I

Re: alternate editors choice

Posted: 25.01.2012, 22:08
by joby_toss
Can't you just add notepad and notepad2 to the tools menu and use ctrl+1 and ctrl+2 (or whatever) to open the selected file?

Re: alternate editors choice

Posted: 26.01.2012, 06:29
by ralfso
I use the "Open File shell for TC" for that purpose.
http://www.totalcmd.net/plugring/OpenFileTC.html
screenshot: http://totalcmd.pl/zrzuty/513.gif
Open File shell For TC is a utility for Total Commander that opens specific executable for each file extension when pressing F4 to edit selected file. E.g. pressing F4 on text files will launch selected text editor, on graphic files - graphic editor, on office documents - word proccessor, etc.

Re: alternate editors choice

Posted: 26.01.2012, 10:16
by isto
joby_toss wrote:Can't you just add notepad and notepad2 to the tools menu and use ctrl+1 and ctrl+2 (or whatever) to open the selected file?
Yes this is an alternative I don't know how to use yet, but I see a big drawback here - I have to remember for each extension which key for which program has been assigned. And for some extensions I need more than 5 different editors and viewers because all the features I need are unfortunately scattered among different editors :cry:
ralfso wrote:I use the "Open File shell for TC" for that purpose.
Thanks for the plugin. It did what I wanted, but I think it is quite easy this feature to be built in into the F4 functionality, because routine has to traverse the editors list anyway...

Thank you for your help

I