Title: Re: Send message with different reply to than account
On 4/28/02 9:49 PM, "Tony White" <[EMAIL PROTECTED]> wrote:
>> When I checked the dictionary for outgoing message I saw the Inheritance of
>> the message class which is where I saw sender, which gave me short lived hope
>> that it could be done.
Well, it turns out I'm talking nonsense. You're right - sender is a property of message, and outgoing message, and is not read-only, and can be set. I just did it. But there's no 'sender' property of draft window, just 'account'. So you can't do it with a new message window, not even saving it as a message and changing the sender. It doesn't work . But if you close the window (by script) then it works!
When you're already to send your message, instead of pressing the Send button, run this script. You can assign it a keyboard shortcut, of course.
--------------------------
tell application "Microsoft Entourage"
set theWindow to window 1
if {class of theWindow} is not in {draft window, draft news window} then
beep
display dialog "The script only works with a new message window in front." buttons {"OK"} default button 1 with icon 0
return
end if
save theWindow
set theMsg to displayed message of theWindow
close theWindow saving yes
set sender of theMsg to {address:"[EMAIL PROTECTED]", display name:"George Whatsis"}
send theMsg
end tell
--------------------------
Voila!
--
Paul Berkowitz
- Send message with different reply to than account Tony White
- Re: Send message with different reply to than account Paul Berkowitz
- Re: Send message with different reply to than acco... Paul Berkowitz
- Re: Send message with different reply to than acco... Tony White
- Re: Send message with different reply to than ... Paul Berkowitz