The following script snippet works fine from script editor, but fails when run as a toolbar script with an error referencing menu bar 1, and just does nothing when run from the script menu.
Any ideas? (its part of a larger script - but its the problem part).
Is this something with the tell block of scripts running within the OF context?
Code:
tell application "OmniFocus"
activate
tell application "System Events" to tell process "OmniFocus"
click menu item "Move Up" of menu 1 of menu item "Move" of menu 1 of menu item "Outlining" of menu 1 of menu bar item "Edit" of menu bar 1
delay 0.05
end tell
end tell
-P