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
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