With OmniFocus Pro you have access to powerful scripting tools using the built-in AppleScript library. To access the dictionary of scripting commands specific to OmniFocus, open AppleScript Editor and choose File ▸ Open Dictionary (Shift-Command-O), then choose from the list that appears.

Locate in the Open Dictionary window and then click Choose

You can add scripts that live in your OmniFocus toolbar by placing them in the directory accessible from the Help ▸ Open Scripts Folder menu item.

Check out the resources below to get started with ideas, tips, and help for adding automation to your OmniFocus workflow: