rounak Posted October 13, 2016 Share Posted October 13, 2016 Preferences > Features > Default Results > Checked AppleScripts Search Scope includes file: ~/Library/Script Libraries/ Script Libraries folder is shown in search but the AppleScript files it contains are not. Link to comment
deanishe Posted October 13, 2016 Share Posted October 13, 2016 It seems Alfred doesn't get along with most folders in ~/Library, neither in File Filters nor in its default results. Link to comment
Andrew Posted October 13, 2016 Share Posted October 13, 2016 OS X marks many items in ~/Library as system files. Assuming these files have been indexed by OS X, if you setup a file filter, be sure to select "Show files marked as System File" in the file filter's Search Scope tab. Link to comment
deanishe Posted October 13, 2016 Share Posted October 13, 2016 I tried that, and it doesn't work. I tried long ago to set up a File Filter for ~/Library/Logs. Can search the files just fine in Finder, but Alfred can't "see" most of them, "show system files" or no. I can't recall right now whether mdfind worked or not. Link to comment
rounak Posted October 13, 2016 Author Share Posted October 13, 2016 (edited) ~/devon-think added in search scope but folder "database" contained in ~/devon-think is not shown in Alfred. Reload Aflred cache No change in result. Checked "Include folders in Home" "database" folder and its content appear in search Unchecked "Include folders in Home" results disappear again edit 1: however, there is no change in the behaviour of ~/Libaray/Script Libraries after checking "Include folders in Home" Edited October 13, 2016 by rounak additional info Link to comment
deanishe Posted October 15, 2016 Share Posted October 15, 2016 @rounak Alfred's cache only applies to applications and preference panes. Reloading it has no effect on other types of files. The "Include folders in Home" says right underneath it "Excluding ~/Library"… The files in ~/Library/Scripts are marked as system files—as Andrew described above. To search them, you need to use a File Filter with the "Show files marked as System Files" option selected. That option doesn't exist for the default scope, so there's no way to get scripts in ~/Library/Scripts in your default results. If you use a lot of AppleScripts, this workflow might be useful. It also knows about application-specific script directories. @Andrew I double checked ~/Library/Logs. mdfind can't see any of the log files in there, either, so I guess they're not actually indexed. Finder lets you search ~/Library/Logs by filename, but not by content. rounak 1 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