DonationCoder.com Software > Find And Run Robot
custom alias to search specific folder AND its subfolder files?
(1/1)
Nod5:
I created this custom alias:
1000>>>photo>->photo $$1 | dosearch C:\-- photo\$$1>+>^photo (.*)
When typing "photo test" in FARR the only results I get are subfolders in C:\-- photo\ with "test" in the name, no file file matches. When I type "photo test jpg" do I get matching images from subfolders.
If I change the alias to
1000>>>photo>->photo $$1 | dosearch C:\-- photo\$$1 -\>+>^photo (.*)
then "photo test" gives only file matches, no folder matches.
But can I change the alias so that "photo test" returns BOTH matching images and matching folders?
(A related idea (I think this has been mentioned before but here goes anyway): it would be great if Pattern Scoring could be used to not only increase/decrease the score but also momentarily prioritize searching some specified folder in a way that overrides the Search Folders list. So for example, if a search pattern includes "photo" a custom pattern scoring entry could instruct FARR to then first search a specific folder, and only after that follow the regular Search Folders list.)
mouser:
you can do this.
go into your search directories list, add your custom directory (C:\-- photo), and specify a special modifier like: photodir
now in your dosearch (or regular search), dont specify "C:\-- photo" but instead specify: +photodir
that tells farr to search the entire c:\-- photo tree for matching files
Nod5:
Excellent! Thanks. :Thmbsup:
Navigation
[0] Message Index
Go to full version