I have tested the following applescript with Outlook Express as the emailer
and it seems to run fine here.

I do not have Outlook or Entourage.

Would anyone who has either/both test this for me?

Thanks in advance!  Send reply to [EMAIL PROTECTED]

1. Make button in Rev with script:

on mouseUp
do fld "MSemailer" as  applescript
end mouseUp

2. Place the  following applescript  in fld named "MSemailer" and change
the part:  tell application "Outlook Express" for Entourage and/or Outlook

3. click button and see if a new email, as described, opens...!



set theAttachment to �
        (choose file with prompt "Select the file attachment:")


tell application "Outlook Express"
        activate
        try
                set the emailDestination to "[EMAIL PROTECTED]"
                set emailSubject to "SUBJECT"
                set emailContent to "MESSAGE BODY"
                set draftWindow to make new draft window with properties �
                        {subject:emailSubject, content:emailContent, 
to recipients:emailDestination } �


                make attachment at draftWindow �
                        with data {file:theAttachment, encoding:binhex}
                --send draftWindow
        on error error_message

                display dialog error_message
        end try
end tell

___________________________________________

    http://www.EZPZapps.com         [EMAIL PROTECTED]
       Software - Internet Development - Consulting
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to