View with options like F4Menu
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 59
- Joined: 2006-07-06, 23:15 UTC
View with options like F4Menu
I have several content viewer plugins and prefer one over another depending on what I am viewing, it would be nice to have the ability like F4Menu for viewing purposes.
Re: View with options like F4Menu
(if you target the lister [F3])margolis22 wrote:I have several content viewer plugins and prefer one over another depending on what I am viewing, it would be nice to have the ability like F4Menu for viewing purposes.
This have been already asked a bunch of time............. in TC UP, you have a lister where you can select witch plugin you want to use.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
fenix_productions wrote:You can achieve something similar to F4Menu with new Internal Associations system and proper use of /S=L and /I= parameters for TC startup.
This means rewriting/generating specific ini file for each usage and do not allows you to switch to your next viewer. This is really not as flexible as having such menu inside the lister !
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
I must admit I had used F4Menu long ago but I thought it has no possibility of switching between viewers when you have one already loaded. Did it change? If not then it is similar to internal associations and cm_ContextMenuInternal command.nsp wrote:This means rewriting/generating specific ini file for each usage and do not allows you to switch to your next viewer.
I agree that some menu / combobox with proper plugins to choose from would be nice. In the meanwhile I can press 4 in lister to get next plug.
margolis22 wrote about his preferences of getting WLX "one over another depending on what I am viewing". It can be partially fixed already by writing correct detect string for plugins.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50522
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
How do you distinguish the files which you want to view in one viewer or the other? If it's by extension or size, you can achieve that with the detect string. I can help you with the instructions - you can find the syntax in the lister plugin writer's guide.
Normally you just put the plugins in the preferred order, and press '4' to switch to the other of the two.
Normally you just put the plugins in the preferred order, and press '4' to switch to the other of the two.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Boofo
AFAIK plugins are checked according to their order in wincmd.ini (or Lister plugins dialogue). First plugin which reports it can handle the file is loaded right away,
So if you want ICLView first, move it before FileInfo.
AFAIK plugins are checked according to their order in wincmd.ini (or Lister plugins dialogue). First plugin which reports it can handle the file is loaded right away,
So if you want ICLView first, move it before FileInfo.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
Here's what I have in the lister section of the INI:
The fileinfo always shows first for some reason.
Code: Select all
2=D:\Software\Total Commander\plugins\wlx\ICLView\ICLView.wlx
2_detect="MULTIMEDIA & ext="ICL" | ext="ICO" | force"
3=D:\Software\Total Commander\plugins\wlx\fileinfo\fileinfo.wlx
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Boofo
Your INI forces ICLView for ICO and ICL files so no problems with them here.
What file types are you trying to open with it?
Maybe try to change detect string a little bit. You will find full description in Lister plugins SDK.
Your INI forces ICLView for ICO and ICL files so no problems with them here.
What file types are you trying to open with it?
Maybe try to change detect string a little bit. You will find full description in Lister plugins SDK.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
I am opening EXE files. It shows the fileinfo first and on key 4, it shows the icons. As the plugins are listed it should show the icons first.
Your solution was the answer. I changed the line in the INI to this:
and now it shows the icons first. Thanks for the suggestion. 
Your solution was the answer. I changed the line in the INI to this:
Code: Select all
2_detect="MULTIMEDIA & ext="ICL" | ext="ICO" | ext="EXE" | force"

chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
For some reasons, you want to see the "same file type" with different viewer... But you do not want to use the [4] key to go from one lister to another. You want the ability to choose which will be used/tried with a menu.ghisler(Author) wrote:How do you distinguish the files which you want to view in one viewer or the other?