Page 1 of 1

Rightclick-menu

Posted: 2014-04-05, 12:20 UTC
by Trast
Hi
I wonder if one can get when right clicking on a file
so you get to choose among those found in TC-Lister (. WLX)
eg. Ulister, SQLiteviewer, nfoviewer, Cadview and Others

Posted: 2014-04-05, 19:39 UTC
by petermad
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.

Posted: 2014-04-08, 18:22 UTC
by Trast
2 petermad
Thanks for the tip, I'll try this :D