Title: Re: Is it possible to include the 'reference' of the attachments in Reply (for Confirmation)?
The following script will append a list of the attachments to the original message (before you press Reply); it also leaves the attachment list on the clipboard for use elsewhere:

tell application "Microsoft Entourage"
    set isDraft to the class of the front window is draft window
    if isDraft then save the front window
    try
        set theMsg to item 1 of (get current messages)
    on error
        display dialog "You must select one message."
        return
    end try
    set theSub to subject of theMsg
    try
        set nList to name of attachments of theMsg
    on error theErr number theNum
        if theNum = -1728 then
            display dialog "Message has no attachments to list."
            return
        else
            display dialog "#" & theNum & ":" & theErr
            return
        end if
    end try
    if isDraft then close the front window
    if (count nList) > 0 then
        set oldDelims to AppleScript's text item delimiters
        set AppleScript's text item delimiters to {return}
        set theList to nList as text
        set AppleScript's text item delimiters to oldDelims
        set theList to "Attachments to message " & theSub & return & theList
        set the clipboard to theList
        set the content of theMsg to (the content of theMsg & return & theList)
    end if
    open theMsg
end tell


On or near 9/10/02 2:25 AM, SVEN AERTS at [EMAIL PROTECTED] observed:

> I have a habit of replying to every message send to me - if it concerns my
> work- style:
>
> "Herewith I confirm reception of your email."
>
> Just to let people know I have received their message.
>
> It would be nice if pressing the reply button would state also what
> Attachments they included.
>
> Is that possible ?
> I can't find it in the preference settings.
>
> Thank you,

--
My web page: <http://home.earthlink.net/~allenwatson/>
My scripts page: <http://homepage.mac.com/allenwatson>
Microsoft MVP for Mac Entourage/Word--<[EMAIL PROTECTED]>

Reply via email to