topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 10:26 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: [Suggestion] Secondary mode with execute on first unique match  (Read 23318 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #25 on: March 26, 2015, 06:45 PM »
Absolutely, i will add the option asap.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #26 on: March 27, 2015, 01:33 AM »
so i added an option for "any chance something along the lines of that force matching the first letter(s) might sneak in there?"
but the outcome seems less than usable -- files you expect to be found are not found.
for example if you search for "firefox" it won't find "Mozilla Firefox".

perhaps what would be better is if the option rejected when the first search letter(s) dont match the lefthand side of ANY word in the filename?

FARR already gives a strong bonus to such situations -- it's one of the ways it tries to do a good job of ranking results -- but i could add an option to reject violations..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #27 on: March 27, 2015, 02:04 AM »
Yes, that's much better. I'll put up a beta on friday for testing.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #28 on: March 27, 2015, 10:31 AM »
Try the new beta:

You'll find a new option in the Search Behavior tab:
Screenshot - 3_27_2015 , 10_30_41 AM_ver001.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #29 on: March 27, 2015, 10:36 AM »
You could disable non-contiguous matching above that too, if you want to further weed out spurious matches.

Remember, non-contiguous matching is what allows "msw" to match "MicroSoft Word", and so it naturally matches lots of stuff.

Bending_Unit

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 20
    • View Profile
    • Donate to Member
Re: [Suggestion] Secondary mode with execute on first unique match
« Reply #30 on: March 27, 2015, 02:52 PM »
Thank you very much mouser ... this is what i needed    :Thmbsup:

but the outcome seems less than usable -- files you expect to be found are not found.
for example if you search for "firefox" it won't find "Mozilla Firefox".

This would have been already perfect for me i guess because the way i use this function is

- alternate mode initiated with a different hotkey
- limited to just 20-50 aliases i define especially for that mode
- and more importantly i just know the exact word i want it to execute something on. So in these clean defined aliases i would never search for "Firefox" by Mozilla to keep your example.
  I would always type Firefox. I would always type "Word", "Excel", "Powerpoint" and never "Microsoft Word"

The outcome being less than useable for you was because you were using it in the default search bar and not in a secondary one especially for this if i guess correctly.
Which leads me to think this is why this might not be perfect for (most?) other users yet.

DonĀ“t get me wrong ... at this point i am happy since i got what i needed to do what i wanted. I am really thankfull that you added this and the way you did it works well for me. End of story. So thank you very much!.

However (ah there he goes again ...) thinking about how you ended up modifying your first attempt because you found it less than usable got me thinking:  There might be some added value if these settings were not (only) global but instead could be used as "Special search modifiers" like +sall and the others.
That way any user wanting this only in some cases like me (albeit for me its the primary way) could still retain the full power of the "normal" search. Since you already have the mechanisms in place (different hotkeys and modifiers) i would guess its not to far away. Just a thought. Again personally i am a happy camper already the way it is now  ;-)