SCalkins
-
Posts
15 -
Joined
-
Last visited
Reputation Activity
-
SCalkins reacted to Andrew in Clipboard History Issue -
The clipboard db may have become corrupt. Try quitting Alfred then opening Terminal.app and pasting:
rm ~/Library/Application\ Support/Alfred\ 2/Databases/clipboard.alfdb
Then restart Alfred. Let me know how you get on
Cheers,
Andrew
-
SCalkins reacted to greghoch in Suggestions/auto complete for Web Searches
Hi,
it would be great if Alfred supports web search suggestions or auto complete natively. There are some workflows that implement this feature for particular searches. e.g. http://www.alfredforum.com/topic/1207-alfred2-workflow-for-google-search-suggestion-instant-search-and-current-site-search/
But native support would be great! Instantfox, for example, allows you to configure a search URL with %q for the query (same as search URL in alfred's custom searches) AND an optional "Suggest URL" that gets the auto complete suggestions. For google search, it's simply
http://suggestqueries.google.com/complete/search?json&client=firefox&q=%q&hl=en
The addition of this feature would be great! Alfred could go a step further and allow the user to set a script that returns the auto complete suggestions (as an alternative to the "Suggest URL".
Thanks!
-
SCalkins reacted to deanishe in Need help with autofill workflow
You'd be much better off using a language that can parse JSON, like Ruby or Python, than trying to make sense of it in bash.
I wrote a Python library for Alfred that should let you do this in very few lines of code. Check out this example, which reads JSON from Pinboard's API and displays that in Alfred. I think that's about 80–90% of what you need code-wise to get started and it's only about 10 lines
The library's tutorial is also all about grabbing JSON from a webservice and displaying it in Alfred, so that might be worth reading.