Copied whpalmer's version and when I got to compile the script I get an error in this section
The error is (Syntax Error Expected “,” but found class name.) and the editor is highlighting date after the word due.
Any help on why it wont compile?
TIA
P.S. Also, does anyone know if there is something like this that will work with Entourage 2008 and omnifocus?
Code:
try using terms from application "MailTagsScriptingSupport" set theDueDate to (due date of theMessage) as date if (leadStart is not 0) then set theStartDate to theDueDate - leadStart * days else set theStartDate to missing value end if set theDueDate to my setDate(theDueDate) end using terms from on error theError end try
Any help on why it wont compile?
TIA
P.S. Also, does anyone know if there is something like this that will work with Entourage 2008 and omnifocus?