Adam de Zoete [EMAIL PROTECTED] on Tuesday, March 16, 2004 stated:
>Hi all,
>
>Thanks for the comments. I've just tried the "Set Status to Sent" script,
>but it seems to only convert a message that is currently a Draft (i.e.
>not Read status).
>
>I'm probably going to have to experiment with redirecting, unless anyone
>knows whether it can be done through different Applescript.
>
>I've got thousands of messages to convert, so I was hoping redirection
>would be a last resort.
>
>Many thanks,
>
>Adam
Try this:
tell application "PowerMail"
set MyMessage to current messages
repeat with i in MyMessage
set TheStatus to (status of i)
if TheStatus is read then
try
set (status of i) to sent
end try
end if
end repeat
end tell
I tried to test this, but the best I could do was set sent messages to
draft, and draft to sent. There is something special about messages and
how PowerMail determines what has been read and not read, draft and sent,
etc. And it doesn't seem to want to let you pick a status randomly.
Wayne
--
"Never interrupt your enemy when he is making a mistake."
- Napoleon Bonaparte
Live DAT & Music Page: http://homepage.mac.com/wayneb/
Wayne's Music Calendar: http://ical.mac.com/wayneb/Music
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html
Music Currently playing: