bpwhistler: It sounds like you may be running into this issue:
http://forums.omnigroup.com/showthread.php?t=21496
In short, you probably need to replace something like this:
Code:
tell application "OmniFocus"
with something like this:
Code:
tell application id "com.omnigroup.omnifocus.macappstore"