I’m personally using Keyboard Maestro to help me automate OmniFocus. I’ve used it to create tool palettes that groups perspectives into distinct groups as well as a few other things…
I get Keyboard Maestro to automate repetitive routines such as set up OmniFocus on the left half of my screen and Fantastical on the right half of my screen.
The Automators forums has some OmniFocus-oriented topics here: