Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 04, 2016, 04:26:22 PM
  • Proudly celebrating 10 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

Author Topic: alias thas searches special folder AND returns folder link as match no 1?  (Read 2379 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
I use this alias:
1000>>>mp3>->mp3 $$1 | dosearch +alb1_modifier +mp3_modifier $$1>+>^(?:mp|mp3) (\w.*)$

As you can see, the searchphrase mp3 something triggers a search in only the harddrive folders tied to the two modifiers (set in "Search Folder" options).

I want an alias that does just that AND also always return a link to one or more special folders (choosen by me) as the first match(es).

Example:

search: "mp3 beatles"

should return:
1. folder1
2. folder2
3. 01 beatles - I saw her standing.mp3
...

I think that kind of behaviour - being able to set one or more privileged matches that trumps whatever matching criteria the rest of the alias contains - could be useful in many other cases also.

Is it possible already without making a special plugin? If so, how?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
its not a bad idea.. you can't do it currently but it might not be too hard to add.

probably the easiest way for me to add a feature to let you do that would be to let you add the fixed entries by specifying them after the dosearch line in the alias results.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 858
    • View Profile
    • Donate to Member
That sounds good!  :Thmbsup: