smagdali Posted April 29, 2016 Share Posted April 29, 2016 Subject says all really. I tried adding ~/Library/Safari to the Search Scope list in the hope that it would index the History sqlite db in there but no dice. This would be super useful - I rarely remember to bookmark anything. Link to comment
deanishe Posted April 29, 2016 Share Posted April 29, 2016 http://www.alfredforum.com/topic/8783-safari-history-search-workflow/is probably the closest you can get. The only way to get Safari history in default results is to use an external program that watches your History.db file and exports its contents to Spotlight-indexable files. Link to comment
smagdali Posted July 6, 2016 Author Share Posted July 6, 2016 (a few months later) http://www.alfredforum.com/topic/8783-safari-history-search-workflow/is probably the closest you can get. The only way to get Safari history in default results is to use an external program that watches your History.db file and exports its contents to Spotlight-indexable files. But doesn't Spotlight already index Safari history? It has an option for it in the prefs, and results appear when I do a spotlight search... Link to comment
deanishe Posted July 7, 2016 Share Posted July 7, 2016 Yup! I've been digging into this for a Safari workflow I'm working on.It stores a whole bunch (many thousands) of .webhistory files in ~/Library/Caches/Metadata/Safari/History Drag one of those to a File Filter to search your Safari history. I wouldn't recommend adding your history to your default scope, as the entries might overwhelm your other results. The UTI is com.apple.safari.history Safari also exports its bookmarks (to ~/Library/Caches/Metadata/Safari/Bookmarks with the extension .webbookmark and UTI com.apple.safari.bookmark). OmniFocus also exports its metadata to files under ~/Library/Caches/Metadata. I hope this is something a lot of apps start doing. It's very handy. dfay 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