Hey Denno,
i downlaoded scriptbug from
http://www.latenightsw.com
i was able to debug the script with breakpoints and look at each object.
I then found the todo flag property of the message.
PHP Code:
--Assuming your message has been assigned to theMessage
set flagged to todo flag of theMessage as text
you can then
PHP Code:
if flagged is "not completed" then
--do something amazing with flagged message
end if
I now want to un-flag the message, but i dont know how to do that, (new to this applescript stuff)
Wes