I have the same lines of code in my script along with
Code:
using terms from application "MailTagsScriptingSupport"
set theDueDate to (due date of theMessage) as date
set theDueDate to my setDueDate(theDueDate)
set myProject to project of theMessage
end using terms from
The item gets created in the right context but it's never put in the chosen project. Does anyone have any ideas?