jyoshimi Posted May 14, 2016 Share Posted May 14, 2016 Hi there, Is there a way in Alfred to search using path information? For example, if I want to find this file /Documents/Papers/MedievalBasketWeaving/NinnyNumnuts_2009.pdf I'd like to search using things like "Medieval Ninny" or "Basket 2009". This is how "goto anything" seems to work in Sublimetext, and I find it pretty useful. Thanks for any help and hope I didn't overlook something already in the forum - Jeff Link to comment
jyoshimi Posted May 23, 2016 Author Share Posted May 23, 2016 Just bumping this. Even knowing this is not supported and there are no plans for support would help. Link to comment
FroZen_X Posted May 23, 2016 Share Posted May 23, 2016 Hi there, Is there a way in Alfred to search using path information? For example, if I want to find this file /Documents/Papers/MedievalBasketWeaving/NinnyNumnuts_2009.pdf I'd like to search using things like "Medieval Ninny" or "Basket 2009". This is how "goto anything" seems to work in Sublimetext, and I find it pretty useful. Thanks for any help and hope I didn't overlook something already in the forum - Jeff This doesn't work from what i know. What does work is for instance "Ninny*2009" which would provide you the file. Link to comment
jyoshimi Posted May 23, 2016 Author Share Posted May 23, 2016 Thanks very much! But no way to use the _path information_ as part of the search? E.g. "Papers" or "Medieval"? Link to comment
FroZen_X Posted May 23, 2016 Share Posted May 23, 2016 (edited) Thanks very much! But no way to use the _path information_ as part of the search? E.g. "Papers" or "Medieval"? Fuzzy matching only exists for File and Foldernames yet. Here is a workflow that works the way you want: http://www.alfredforum.com/topic/4042-fuzzy-folders/ If you're under Alfred 3, you have to go to the workflow folder and open "ff.py", replace "Alfred 2" with "Alfred 3" to make it work. Hope that helps Edited May 23, 2016 by FroZen_X Link to comment
jyoshimi Posted May 24, 2016 Author Share Posted May 24, 2016 (edited) Thanks! I've installed it and updated ff.py, and I am working on figuring it out now. Edited May 24, 2016 by jyoshimi Link to comment
deanishe Posted May 24, 2016 Share Posted May 24, 2016 Fuzzy matching only exists for File and Foldernames yet. Here is a workflow that works the way you want: http://www.alfredforum.com/topic/4042-fuzzy-folders/ If you're under Alfred 3, you have to go to the workflow folder and open "ff.py", replace "Alfred 2" with "Alfred 3" to make it work. Hope that helps Does that actually make it work on Alfred 3? I figured that one would need a lot of work because it messes around with its own info.plist a lot. I haven't really got round to updating my workflows for Alfred 3 yet. I'm still digesting the new features and what I can do with them, and pondering how to alter the self-updating mechanism to prevent workflows running under Alfred 2 to update to Alfred-3-only versions. jyoshimi 1 Link to comment
FroZen_X Posted May 24, 2016 Share Posted May 24, 2016 (edited) Does that actually make it work on Alfred 3? I figured that one would need a lot of work because it messes around with its own info.plist a lot. I haven't really got round to updating my workflows for Alfred 3 yet. I'm still digesting the new features and what I can do with them, and pondering how to alter the self-updating mechanism to prevent workflows running under Alfred 2 to update to Alfred-3-only versions. I just tested it, you also have to change the "workflow.py". There is another "Alfred 2" that has to be changed to "Alfred 3". I'm on the way atm, but ill post a pic later Thanks! I've installed it and updated ff.py, and I am working on figuring it out now. To check the help use "fzyhelp". And like i said change "workflow.py" too, forgot that :/ Edited May 24, 2016 by FroZen_X Link to comment
FroZen_X Posted May 24, 2016 Share Posted May 24, 2016 (edited) Here is the example: And thats under Alfred 3 Edited May 24, 2016 by FroZen_X jyoshimi 1 Link to comment
Andrew Posted May 25, 2016 Share Posted May 25, 2016 If you update to the b655 pre-release from Alfred's update prefs and install the "Dynamic File Search" workflow example from the workflow prefs + button, this is a pretty simple example of how you could build a dynamic search. This example is only one level deep, but with keyword "ff" you'll be able to first search for "Medieval", then press enter on the folder, then search for the file by typing "Ninny" Hope this helps Cheers, Andrew jyoshimi 1 Link to comment
jyoshimi Posted May 26, 2016 Author Share Posted May 26, 2016 This example is only one level deep, but with keyword "ff" you'll be able to first search for "Medieval", then press enter on the folder, then search for the file by typing "Ninny" Yes, this works great! Thanks Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now