Key commands are an excellent means of getting around a program, and Keyboard Maestro brings key commands to the general Mac OS.
Most of the custom perspectives I’ve designed in OmniFocus are assigned a key command. However, the key commands only work when OmniFocus is the front-running program.
Using Keyboard Maestro, I have macros created to immediately call my most commonly requested perspectives, opening OmniFocus when needed, regardless of my present active application.
As an example, I like to view my “laptop core” tasks easily. Usually, I would have to navigate to OmniFocus before calling the perspective with Control-Command-l. In the cases when OmniFocus is not already open, I would then need to open it before going to the perspective.
Now I just type Control-command-l wherever I am and the requested perspective appears. If this sounds appealing to you, read on.
* In creating key commands with Keyboard Maestro, one needs to be wary of creating hotkeys that may interfere with the hotkeys of Mac OS or other applications.
** Keyboard Maestro seems to be one of those programs that really rewards experimentation. I'm still experimenting, so follow along if you dare ...
When OmniFocus is running, a path to call up a perspective by key command already exists. Rather than risk confusing the system, we need to tell Keyboard Maestro that it is not needed when OmniFocus is the front-running application. To do so, we can create a folder group in Keyboard Maestro with this specific command for all macros listed inside:
We’ll now create a set of parameters for the folder.



We now have a folder in which we can create our perspectives:
To create a new command by which we’ll call up a perspective:
Here, I’ll do "Laptop Core Perspective" under which I have only Flagged and Due items in contexts available for the laptop:


Now, we assign actions. We’ll need to open OmniFocus and select the perspective.
To search,


In the resulting fields,
The completed list appears as:
This may be particular to my own system, but adding a pause here allows Keyboard Maestro to open a perspective more reliably. Otherwise, when Omnifocus is closed before executing the macro, the program opens, but the requested perspective does not, (possibly because OmniFocus is still opening when the perspective request is made).
I find that 0.5 seconds is plenty of time:
Now, when using another application, you can call up the perspective you want without opening or moving to OmniFocus first.
If desired, you can also add the action “Hide Other Applications”. This might be useful with a customized Inbox perspective, for example, where you may want to hide everything from view while entering thoughts.
You can create additional perspective macros easily by duplicating the one already made with Command-D and making the necessary adjustments. A bonus is that since it is already in the dedicated "OmniFocus Perspectives" folder that we first created, the new perspective macro will inherit the same properties.
If you really want to start getting into Keyboard Maestro, then consider: