Rightclick-menu

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Trast
Junior Member
Junior Member
Posts: 64
Joined: 2011-12-18, 15:32 UTC

Rightclick-menu

Post 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
/Trast

Excuse my bad English and spelling. ;-)
User avatar
petermad
Power Member
Power Member
Posts: 16096
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post 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.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Trast
Junior Member
Junior Member
Posts: 64
Joined: 2011-12-18, 15:32 UTC

Post by *Trast »

2 petermad
Thanks for the tip, I'll try this :D
/Trast

Excuse my bad English and spelling. ;-)
Post Reply