Alfred v2 for Mac

Alfred App v2 – a productivity app for Mac OS X is out:

Alfred v2 is re-written from the ground up to be faster, more efficient and easier to use. Overall, less than 15% of Alfred v1′s code was reused, and every feature was carefully improved and given the love it needs.

Great stuff. I love apps that are lovingly supported and developed. I happily downloaded and bought the v2 Powerpack.


As v2′s architecture has been rewritten from the ground up to introduce the significantly more flexible Workflows, this upgrader tool will not import your extensions. These require some human intelligence to be turned into the most useful workflows possible.

I have quite a few extensions, mostly written myself, so I have a bit of work ahead.


My first attempt at migrating my most used extension – Open iTerm Here, didn’t go very well. I created a workflow that ran a script after a keyword and another that ran an AppleScript after a keyword. Both give an error when simply copying the code from Alfred v1 to v2:

Alfred 2[5586]: [ERROR] AppleScript Error: {
NSAppleScriptErrorBriefMessage = "Expected end of line, etc. but found unknown token.";
NSAppleScriptErrorMessage = "Expected end of line, etc. but found unknown token.";
NSAppleScriptErrorNumber = "-2741";
NSAppleScriptErrorRange = "NSRange: {774, 1}";

Ah, somewhere in the copy and paste, something had escaped the ampersand on line 35:

tell the last session
	write text "cd " & finderPath
end tell

Changing it back to a proper & and the extension works fine.

Strangely, Alfred stores it as & in the plist.

OK, now to migrate the rest of them…

Leave a Reply