Universal Viewer - Lister alternative

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

To the first post added lists of "Advantages over Lister" and "What is not implemented yet". These are the frequently asked questions - hope they are answered now...
Last edited by Alextp on 2006-12-19, 04:21 UTC, edited 2 times in total.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

News

1. Viewer is built-in into Stylet File Manager:
http://www.stylet-software.com/

Screenshot:
http://www.stylet-software.com/screenshots/scr2.jpg


2. and into UniView4PM for Phoenix Mail 2003:
http://www.rr4u.de/

(no screenshot. Looks somewhat similar to one of my demos.)

PM2003 is a German free email client.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Please restore the search value for EditFindNext when using F3 again after restared the viewer (saving the search value into the ini).
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
As I see the Lister saves this string. Maybe I can do that too.

Edit: FAR saves this string too. OK, I'll save it.
Last edited by Alextp on 2006-12-22, 05:48 UTC, edited 1 time in total.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
As I see the Lister saves this string. Maybe I can do that too.
Thanks :)


Another thing, Could you take in count the "force" value for plugins, for instance : "MULTIMEDIA & ext="ICL" | ext="ICO" | force" for ICLView lister plugin ? (which will permit to see icons from EXE, DLL, ...)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
I can do it. But I don't understand the meaning of "force" word. Can you explain me how it should affect Viewer? or Lister? I read about it in Lister API doc, but didn't understand that text...
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
I can do it. But I don't understand the meaning of "force" word. Can you explain me how it should affect Viewer? or Lister? I read about it in Lister API doc, but didn't understand that text...
I guess force mean that it load the plugin whatever the extention of the file show in lister.

edit:about the lister api, Its not very clear, and need to do some tests.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
So it means, for the Viewer, that it's equal to empty detect-string. Because the empty string means excatly the same.

Right?
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
So it means, for the Viewer, that it's equal to empty detect-string. Because the empty string means excatly the same.

Right?
If the detect string is empty, shouldn't it be avoided instead?
Indeed TC loading it anyway, its curious...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
If the detect string is empty, shouldn't it be avoided instead?
No: Empty string means that plugin can accept any file.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

The force value in the detection string permit to load a file without an recognized extention when user asking for it using the hotkey 4 in lister (multimedia/ect.)

For instance if a lister plugin using the following detection string : "force | ext=ICO and if the checkbox "Load bitmaps as graphics at startup" into the lister's options) is set :

The first plugin found which handling the ico extention will be automatically loaded to show the icon content.
but if the file is a valid icone but using another unknown extention, it will not.

At this time, if the user push the hotkey 4 in lister (Image/Multimedia), and if the force value is present, the plugin will be loaded and show the icon content, whatever its extention (of course if the lister plugin care about the FORCE operand, which it seem that not much plugin devs taked in count...).

You can check how it working into the lister plugin sample from mr. ghisler.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
OK. I got it.
I'll try to implement this "force" feature.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

2alextp

Thank you and good luck! :)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
Your features implemented. See "Version wihout installer" link in 1st post. Is it OK?

If you run Viewer and press F3, it shows Find dialog with last search word entered in edit field. You mean this, right?
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:If you run Viewer and press F3, it shows Find dialog with last search word entered in edit field. You mean this, right?
No (but filling the find dialog like actually is nice, though).
I was thinking about dissociating the CTRL+F and the F3 functions.
I mean, when you press the CTRL+F, you have the find dialog, to enter a search value (like now).
But pressing the F3 key should never show the find dialog (but it is only my personal point of view, and not a standard I guess), but only search the value entered previously into it (or reading it from the ini file from the previous session)

About the force value, it seem working very well now.

Nice work :)
Post Reply