Title: Re: Replying in a rule
No way just with rules; you would have to run an AppleScript in the rule that constructs the reply for you. Not quite as neat because the text of your reply is not stored with the rule, but in the script or in an external text file the script reads in. The following, for instance, would reply with the user's message appended at the end of the reply text, which is stored in your Documents folder in “myReply.txt”:

tell application "Finder"
    set uHome to path to current user folder
    set dPath to folder "Documents" of uHome as string
end tell
tell application "Microsoft Entourage"
    set theMsg to item 1 of (get current messages)
    set newMsg to reply to theMsg attribution style internet attribution with quote entire message without opening window
    set t to the content of newMsg
    set fPath to dPath & "myReply.txt"
    tell application "Finder" to set replyText to read file fPath
    set t to replyText & return & t
    set content of newMsg to t
end tell

This leaves the outgoing message in your Drafts folder. If you want it sent at once, you could add the line “send newMsg” just before “end tell”.

--
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site: <http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
 <http:[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>


> From: "Michael W. Shaffer" <[EMAIL PROTECTED]>
> Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Date: Wed, 06 Nov 2002 16:22:34 -0600
> To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
> Subject: Replying in a rule
>
> Hi all,
>
> I'm a new member of this list.  I got an iBook recently and took advantage
> of the special offer on MS Office at the same time.  I really enjoy
> Entourage, since it reminds me of Outlook Express on OS8, which I really
> liked.
>
> My question is this. Is there a way to set the reply text in a rule to
> include the original message?
>
> Right now, I have a rule set up such that any message sent to one of my
> alias addresses sends out an auto-reply to the effect of "I got your
> message."  It doesn't include the original message, though, just the reply
> text.  I'd like to include the original message in the reply as well.  Any
> ideas?
>
> --
> Michael W. Shaffer
> http://www.theshaffers.org/michael/
>
> Foolproof systems don't take into account the ingenuity of fools.
> Gene Brown
>
>
> --
> To unsubscribe:                     
> <mailto:[EMAIL PROTECTED]>
> archives:       
> <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
> old-archive:       
> <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

--
Allen Watson, Portland, OR -- <[EMAIL PROTECTED]>
My web page: <http://home.earthlink.net/~allenwatson/>
Teach only love, for that is what you are. (A Course in Miracles)

Reply via email to