View Single Post
And finally taking it one final step, I commented out the part of the line where the body of the message is combined with the subject. Here is the original line:

set theText to subject of theMessage & return & content of theMessage


I commented out the end:


set theText to subject of theMessage -- & return & content of theMessage


And the task appears properly in OmniFocus. So I did a little more whacking on it and tried thess:


set theText to subject of theMessage & content of theMessage


And it failed again. It looks like the code is just combining the subject and the body with some sort of string concat... but so far I cannot tell why it is failing. The subject is okay. The return is okay. The code is failing at 'content of theMessage'

Last edited by kpettersen; 2007-12-24 at 12:22 PM.. Reason: Added more info