QuickSearch eXtended

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

Moderators: white, Hacker, petermad, Stefan2

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

QuickSearch eXtended

Post by *Samuel »

QuickSearch eXtended for Total Commander 7.5+


Download:

QuickSearch eXtended (QuickSearch eXtended.zip, QuickSearch eXtended - source.zip, tcmatch.pdf, tcmatch_de.pdf, tcmatch_hu.pdf, tcmatch_ko.pdf)

If you have problems downloading the files try to checkmark two or more files, then they are packed together and you can download them as a full package.

Image: https://abload.de/img/apng-animation2023-06tlilr.png

Extract the plugin to TC-Folder or use auto install by entering the zip from within TC. You have to restart TC to make it work.


Very important:

Please, please, please read the readme to get more and better informations about installation, usage, possible customization and the last changes.
Its useful - trust me. :D


Features:
  • Search substrings in random order.
  • RegEx search
  • Similarity search
  • Possibility to use presets
  • PinYin support
  • Highly customizable
Suggestions are welcome.


Examples:

It's possible to search substrings in a random order:

Code: Select all

Search for: "dog cat"

Find:
 A dog and a cat moved to china.txt
 CaTs and dOgs.avi
 bulldog catalysator.doc

Search for: "cat music|dog fun"

Find:
 Musical cats.pdf
 funny Dog.avi
It's also possible to do a RegEx search:

Code: Select all

Search for: "?_\d"

Find:
 tcmd_75b4.exe
 AutoHotkey_104800_Install.exe
 IZArc_4b1.exe
It's even possible to do a Similarity search: (using Levenshtein Distance)

Code: Select all

Search for: "<color"

Find:
 colourful.bmp
 my favorite Color.jpg

Search for: "<2lefenstein"

Find:
 Levenshtein.cpp
You may also do a Srch:

Code: Select all

Search for: "*dwn"

Find:
 Download.zip
 dewdrops.png
 Sandra went to town.docx

Presets:

Code: Select all

Save Preset: ".pdf|.doc|.ppt|.xls|.txt>a"
Restore it: ">a"
PinYin support:

Code: Select all

Search for: "ext sz zgrand"

Find:
 中国randomtext 神舟.bmp
Last edited by Samuel on 2023-06-12, 06:09 UTC, edited 45 times in total.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Samuel
That was quick.

Question: are you willing to share a code?

Suggestion: real regexp would be very handy.

I could take a look and try to write it but I wonder how to workaround the problem mentioned by you in other post.
Last edited by fenix_productions on 2009-05-30, 02:04 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
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Sounds interesting. I will try it out. ;)
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 »

2Samuel
I've just remembered something…

You can find the "biggest" suggestion here:
http://www.ghisler.ch/board/viewtopic.php?p=147461

Feel free to take anything you like ;)
"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: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I will share code. But currently the Unicode string is converted to normal string, because I know normal strings better. :-)

4.1, 5, 5.1, 5.2 are not supported by TC. (presets and columns)
Regex and similarity sound good.

Beside this:
Using the current Quicksearch is just really fast.
I almost think no need of regex, etc at all.

Edit:
2ghisler (Author):
Saveable presets for Quicksearch would be nice. (and or a history)
Also column support for the dll would be nice.
User avatar
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Anyone knows a good Regex lib for C++?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Never used it, but pcre is standard.
ADDED: Just tried your tool: Thumbs up. :)
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 »

2Samuel,

Quickserrach knows to use the tcmatch.dll on its own? Or do we need to add something somewhere?
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
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Just install it to TC folder and restart TC. It should work now.
Try it by use filter with "dll match" (tcmatch.dll should not be filtered)
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 »

Where do I set the filter?
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
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Its automatically used in the quick search filter.
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 »

Ok, I see now. It works great! Slick little idea, sir. ;)

Any way to add this to the regular search, too?
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
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Only by Mr. Ghisler himself.
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 »

Do you think it would be good to have in the regular search? I don't want to suggest it if I am the only one who thinks so.
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
Samuel
Power Member
Power Member
Posts: 1929
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I would like it and it seems like no big deal.

Im working on RegEx right now. But I think I need support from Mr. Ghisler for that. Currently when you would filter out all files with another letter, this letter is not written to the filter.

This gives problems using regex.
You cant write for example: "\d" because no file would match "\". So you have to paste this string to Quicksearch.
Post Reply