Hacker News new | ask | show | jobs
by eknkc 4836 days ago
It seems great. Thanks.

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.

5 comments

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.

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).

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

end alfred_script

Dash already have some integration with alfred (without the suggestions).

http://cl.ly/image/461y1R1X3L1C

Sure, I could try and add dash into it.
p.s. it's also on github so anyone can add anything they'd like it there :)