Alfred

Applescripts and Alfred


I like my Applescripts and I like Alfred. Being able to run one from the other is great.

What I was quite particular about though was that unless your scripts were somewhere in your home folder (technically as long as they weren’t inside a “System” folder) then they would be found. However if like me you put your Applescripts where Apple tell you they should be, in ~/Library/Scripts then by default Alfred won’t find them. The other reason for putting scripts there is that a bunch of other applications expect them to be there too.

Alfred’s PowerPack rescued me by making plugins available, so I was able to build a plugin that let’s you run your scripts from the proper folder. It is also really easy to install - download the extension that I built, double click it to install it, then when you next launch Alfred you can use the keyword of script and all your scripts will be found.

Here is a screenshot to show the plugin in action:

Alfred screenshot

Quicklook from Alfred


I have recently been playing with Alfred and especially the Powerpack options that allow you to do some of the most awesome shell hacking with a GUI that I have ever seen.

However, after playing with it for a bit I started wishing that I could quicklook items as I navigated through them in Alfred, so I asked their support for guidance and quick as a flash I got the following answer from Anna:

Quicklook support is not directly in Alfred. With the latest 0.9 release, however, provided you can find a Terminal command that would let you quicklook a file, you could then set it as an additional action in the action list.

So I was slightly disappointed but not deterred – this is after all an App that is so young, the developer has only just gone full time on it (congrats!). I have come to a simulation of what I originally wanted to do and it is close enough to my original idea to be worth sharing – so here is my howto for it.

Syndicate content