There might be a way to script it natively, but you can emulate the shortcut with System Events (you need GUI Scripting enabled)
Code:
activate application "OmniFocus"
tell application "System Events"
tell process "OmniFocus"
keystroke "1" using {command down, option down}
end tell
end tell