Title: Re: Droplets
On 12/11/04 4:22 AM, Scott Haneda deftly typed out:

> When I drop a file or a set of files on the droplet, I would like it to
> simply open a new email message to a specific person, it need not send it,
> as I will more than likely want to type something in.  However, I do want it
> to have a cosmetic email address in the format of:
> First last <[EMAIL PROTECTED]>

Ha! I get to take a crack at it before one of the scripting experts replies! :-)

This should do what you want:

property theRecipient : "John Doe <[EMAIL PROTECTED]>"

on run
   tell application "Finder"
        set theItems to choose file with prompt "Select file to attach:" without invisibles
       my createMessage(theItems)
    end tell
end
run

on open theItems
   tell application "Finder"
        my createMessage(theItems)
    end tell
end
open

on createMessage(theItems)
    tell application "Microsoft Entourage"
        activate
       make new draft window with properties {attachment:theItems, to recipients:theRecipient}
    end tell
end
createMessage

-Remo Del Bello

--
011000110110100001101001011000110110101101110011001000000110010001101001
0110011100100000011000100110100101101110011000010111001001111001

Reply via email to