View Single Post
Quote:
Originally Posted by cerithom View Post
Got a mail rule which assigns contexts, projects, due dates but will only place the task in the inbox
Tried the:

tell application omnifocus
compact front document
end tell

but it causes Of and mail to hang and then fail.
First, a silly question, just in case ...

Do you have the required double quotes around the application identifier, as in:

tell application "OmniFocus"
compact front document
end tell

or

tell application id "com.omnigroup.OmniFocus"
compact front document
end tell

If you do, what does the mail rule code look like ? You will need to slip a compact command in there somewhere ... (Probably just after the document makes a new task and sets its properties).

Last edited by RobTrew; 2010-03-03 at 02:26 AM..