Yo can do this with TC's internal associations:
1. Click on "Files" -> "Internal Associations (Total Commander Only)" to get something like this:
http://madsenworld.dk/tcmd/associations1.png
2. Click on "Add" to get this:
http://madsenworld.dk/tcmd/associations2.png and
write *.* in the first field.
3. Click on "OK" to get this:
http://madsenworld.dk/tcmd/associations3.png
4. Click on "New" to get this:
http://madsenworld.dk/tcmd/associations4.png
5. Fill out a descriptive name in the "Action (verb):" field.
6. To use for example Imagne plugin write this in the "Command (program):" field:
Code: Select all
"%COMMANDER_EXE%" /S=L:Pimagine "%1"
and click "OK"
7. Use the "New" button to add additional plugins to get something like this:
http://madsenworld.dk/tcmd/associations5.png
8.
Write ** in the field "Open" - this will ensure that double cliking or pressing Enter on the file will open it with its default program.
Note the name after /S=L:P in the Command field must be the same as the name in the Title bar of Lister when viewing with the specific plugin.
The code for this in wincmd.ini will look like this (with your filter number):
Code: Select all
[Associations]
.
Filter12=*.*
Filter12_open=**
Filter12_Imagine plugin=""%COMMANDER_EXE%" /S=L:Pimagine "%1""
Filter12_mmedia plugin=""%COMMANDER_EXE%" /S=L:Pmmedia "%1""
Filter12_Ulister plugin=""%COMMANDER_EXE%" /S=L:PUlister "%1""
Filter12_SQLiteviewer, plugin=""%COMMANDER_EXE%" /S=L:PSQLiteviewer "%1""
Filter12_nfoviewer plugin=""%COMMANDER_EXE%" /S=L:Pnfoviewer "%1""
Filter12_Cadview plugin=""%COMMANDER_EXE%" /S=L:PCadview "%1""
If you have other associations for specific file types (like *.doc), then put the association for *.* at the end of the list of associations.