AppleScript Incoming to Outgoing

  • Thread starter Nicholas Johnson
  • Start date
N

Nicholas Johnson

Hello All

Does anyone know how to change the class of an Entourage message from
incoming to outgoing via AppleScript? I have tried the following:

on run
tell application "Microsoft Entourage"
set theMessages to the selection
repeat with theMsg in theMessages
my changeStatus(theMsg)
end repeat
end tell
end run

on changeStatus(theMsg)
tell application "Microsoft Entourage"
set class of theMsg to outgoing message
end tell
end changeStatus

I always get the error message as follows:

tell application "Microsoft Entourage"
get selection
{incoming message id 1162}
set class of incoming message id 1162 to outgoing message
"Microsoft Entourage got an error: Unknown object type."

Thanks in advance
Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top