View with options like F4Menu

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
margolis22
Junior Member
Junior Member
Posts: 59
Joined: 2006-07-06, 23:15 UTC

View with options like F4Menu

Post by *margolis22 »

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.
User avatar
nsp
Power Member
Power Member
Posts: 1809
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: View with options like F4Menu

Post by *nsp »

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.
(if you target the lister [F3])
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.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

You can achieve something similar to F4Menu with new Internal Associations system and proper use of /S=L and /I= parameters for TC startup.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
nsp
Power Member
Power Member
Posts: 1809
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

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 !
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

nsp wrote:This means rewriting/generating specific ini file for each usage and do not allows you to switch to your next viewer.
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.

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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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.
Author of Total Commander
https://www.ghisler.com
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

What if you have 2 plugins (file and lister)? How do you make one go first in that case?
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
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

What if you have 2 plugins (file and lister)?
Easy:
Lister plugin goes first if you press F3,
Filesystemplugin goes first if you enter via Network Neighborhood ;-)
#5767 Personal license
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Well, when I press F3, then filinfo plugin goes before the ICLView plugin for some reason. I want the iclview to go first in lister.
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
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Here's what I have in the lister section of the INI:

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
The fileinfo always shows first for some reason.
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
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Should I make a new thread for this question?
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
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

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.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

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:

Code: Select all

2_detect="MULTIMEDIA & ext="ICL" | ext="ICO" | ext="EXE" | force"
and now it shows the icons first. Thanks for the suggestion. ;)
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
User avatar
nsp
Power Member
Power Member
Posts: 1809
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

ghisler(Author) wrote:How do you distinguish the files which you want to view in one viewer or the other?
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.
Post Reply