Is there any possibility to integrate this with Dash? (http://kapeli.com). I like having offline documentation and being able to search dash via alfred with suggestions would be great.
Hi, Dash's developer here. Dash actually now has a Alfred 2 workflow very similar to the one above. In a nutshell, the Alfred 2 workflow performs the search in Dash in the background and shows the results inside Alfred.
It's still in beta, so do expect some bugs (although no bugs have been reported so far). If you absolutely don't like betas, wait for the next update of Dash (version 1.8.2).
I have dash lookup in alfred (without autocomplete though), by typing dl. I don't remember where I got it from:
on ApplicationIsRunning(appName)
tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
return appNameIsRunning
end ApplicationIsRunning
on alfred_script(q)
if ApplicationIsRunning("Dash") is false then
do shell script "open -a Dash"
end if
tell application "Dash"
activate
end tell
tell application "System Events"
keystroke "f" using {option down, command down}
keystroke "a" using command down
keystroke delete key
keystroke q
end tell
This is what it looks like: http://cl.ly/image/0h2r0d3b1c2h. This is how you get it: https://twitter.com/kapeli/status/316074209568755712.
It's still in beta, so do expect some bugs (although no bugs have been reported so far). If you absolutely don't like betas, wait for the next update of Dash (version 1.8.2).