[OS X] 使用 Alfred 快捷键打开应用程序

写着写着代码,终于忍受不了在Xcode、Emulator、Chrome、Dash等应用中切来切去的麻烦。Dock栏可不是那么好点的。于是花了一段时间查找Mac上有哪些App可以实现快捷键切换应用程序。
最后,终于挑定了一款应用的时候,突然想起来 Alfred 来。于是尝试了一下,效果完美。

Alfred 无愧神器之名:)


Step 1: Create Blank Workflow

Add a blank workflow, fill the name, description and other field Alfred required.

Step 2: Add Hotkey Trigger

Click the "+" button on the upper right, select the Trigger -> Hotkey. Now a new window shows, type the Hotkey you want to use.

Step 3: Add Action

Click the "+" button, this time select the Action -> Launch Apps/ Files. Drop the app you want to open from Finder to Alfred.

Step 4: Link the Trigger to the Action

Link the hotkey trigger to the launch apps action. Done!

A workflow to trigger the chrome and xcode

最终效果是,在 Chrome 还没有打开的情况下,将启动 Chrome。如果 Chrome 已经启动,则切换到 Chrome。