QuickSearch eXtended

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1871
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel » 2009-06-17, 11:11 UTC

Here you go.
See first post.

Someone also put it there, but its an outdated version.
I wounder how to put it on Totalcmd.NET. There seems to be no signup button. Is there a official or semiofficial place to put plugins?
Last edited by Samuel on 2009-06-17, 11:44 UTC, edited 1 time in total.

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions » 2009-06-17, 11:25 UTC

Samuel wrote:There seems to be no signup button. Is there a official place to put plugins?
Contact with an author of http://www.flint-inc.ru to get account.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

cheming
Member
Member
Posts: 148
Joined: 2004-05-07, 14:38 UTC
Location: China

Post by *cheming » 2009-06-17, 11:29 UTC

Samuel wrote:Here you go.
See first post.

Someone also put it there, but its an outdated version.
I wounder how to put it on Totalcmd.NET. There seems to be no signup button. Is there a official place to put plugins?
Ask petermad. the latest thing uploaded to totalcmd.net is Extended English Menus 7.50b5.

User avatar
Hacker
Moderator
Moderator
Posts: 11403
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2009-06-17, 18:57 UTC

fenix_productions, cheming,
Flint? Petermad? What do they have to do with the site? Why not contact the site admin - Ergo?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

User avatar
Samuel
Power Member
Power Member
Posts: 1871
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel » 2009-06-17, 19:19 UTC

I asked Flint (Konstantin) and he gave me a login.

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions » 2009-06-17, 19:54 UTC

2Hacker
I had tried many times in the past to contact with Ergo and never got any kind of reply (neither via ICQ nor email) but I received suggestion from someone (Alexey?) once to ask Flint about and it worked immediately.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

Rodny
Junior Member
Junior Member
Posts: 16
Joined: 2007-01-30, 19:56 UTC
Location: Belarus

Post by *Rodny » 2009-06-17, 19:57 UTC

2Hacker
For some reason Ergo does not manage the site for several years, in fact, the site is now administered by the Flint. Therefore, for accounts you need to ask him. Here on this in Russian.

User avatar
Hacker
Moderator
Moderator
Posts: 11403
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2009-06-17, 20:51 UTC

Rodny,
Strange. Thank you.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

vic2009
Junior Member
Junior Member
Posts: 32
Joined: 2009-05-30, 02:03 UTC

Post by *vic2009 » 2009-06-19, 05:02 UTC

Samuel, thank you so much for adding support for PinYin. You must made many Chinese TC users so happy. Great work. Thank you!

User avatar
Samuel
Power Member
Power Member
Posts: 1871
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel » 2009-06-21, 12:57 UTC

Updated first post: Version 1.3 is available.

Code: Select all

Version 1.3
 - Changed: Renamed "separator_char" to "and_separator_char" in ini.
 - Added: "or_separator_char" to search either one substring or the other one
 - Added: ability to create and use presets
 - Added: ini option "filter_files_and_folders" to only filter files or only filter folders (doesn’t work in zip files)
 - Added: Autodetect system language on first run to set PinYin ini option to "use_pinyin=1" for Chinese
 - Did not fix PinYin support again :-D
Regarding wdx support:
I tried a lot on wdx support. (see commented source code.) There are many problems. Although there are many optional functions, I cant get some plugins ("ShellDetails") to work with only the two functions: "ContentGetSupportedField" and "ContentGetValue". Also I figured out that there are many ways to store a string: "ft_string", "ft_stringw", "ft_multiplechoice" "ft_fulltext", (the same with the many number formats - I will not think of Units and the different date and time formats, etc) So its very hard to include wdx support.

I would be glad if there would be a class which just expects: "wdx_plugin_with_path", "Fieldname" to initialize and later would only produce the expected data as string for any "File_with_path".

Edit: I also dont know if its really needed.

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions » 2009-06-21, 13:29 UTC

2Samuel
Samuel wrote:I would be glad if there would be a class which just expects: "wdx_plugin_with_path", "Fieldname" to initialize and later would only produce the expected data as string for any "File_with_path".
Does DLL suit your needs?

If yes: http://www.ghisler.ch/board/viewtopic.php?t=21710

Search for "wdx_proxy" or contact with franck8244. He wrote small DLL which can help you. You just need to pass the names (plugin, field and specific file) to get proper value string from it. I've found it very easy to use in my Comparer application.

I am not sure about Unicode support but it is good for beginning.
Last edited by fenix_productions on 2009-06-21, 13:36 UTC, edited 1 time in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
Samuel
Power Member
Power Member
Posts: 1871
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel » 2009-06-21, 13:36 UTC

Sounds good. I will look into it later the day.

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions » 2009-06-21, 13:47 UTC

2Samuel
I am afraid it will be slow but we'll see.

I still think that TC should just pass columns content in one parameter. Maybe simple string with "\n" as separator (since new lines don't work in columns). That would be the easiest way IMHO.

It could look like:

Code: Select all

BOOL __stdcall MatchFileW(WCHAR* QSFilter,WCHAR* Filename, WCHAR* Filecontent)
where you could get as Filecontent something similar to:

Code: Select all

3.1 M
2009-06-15 07:09
-a--
Of course, tcmatch.dll should treat new line as new column mark (as I wrote above).
"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: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2009-06-21, 14:00 UTC

I still think that TC should just pass columns content in one parameter.
Unfortunately only standard columns (size, date/time, attributes) are available at quick search time. Custom fields are only loaded when shown, otherwise it would be much too slow...
Author of Total Commander
http://www.ghisler.com

User avatar
Samuel
Power Member
Power Member
Posts: 1871
Joined: 2003-08-29, 15:44 UTC
Location: Brandenburg, Germany
Contact:

Post by *Samuel » 2009-06-21, 14:07 UTC

Its mainly about the shown columns. (it is much faster to extract them once.)
Especially in user defined columns this would be nice.

Post Reply