An applescript containing the following code (with the first line amended to specify the name of the required perspective) should do what you need:
Code:
property pPerspectiveNeeded : "Due"
tell application "OmniFocus"
activate
print perspective pPerspectiveNeeded without print dialog
end tell