Re: Basic Outlook Express script
Re: Basic Outlook Express script
- Subject: Re: Basic Outlook Express script
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 17 Sep 2002 13:33:02 -0700
On 9/17/02 12:56 PM, "John Cebasek" <email@hidden> wrote:
>
Hi Paul (and All):
>
>
OK. I tried to get this to compile and of course I'm having problems. If I
>
check the Outlook express dictionary, there's only one entry in there for mail
>
and it's CreateMail [Subject string] [Body string] [attachments a list of
>
list] ...
>
>
BTW, if I'm reading the script editor right, in the code below, someone thinks
>
that draft window are variables....
>
>
How does set newMessage... get translated into "CreateMail"...
>
>
(Sorry for the newbie question, but I just got this dumped onto my lap...)
>
>
John
>
On Tuesday, September 17, 2002, at 02:42 PM, Paul Berkowitz wrote:
>
>
set theDoc to alias "Mac HD:Folder Name:File Name"
>
set the Content to "Your boilerplate standard text here"
>
set theSubject to "Whatever you want, or leave this out"
>
>
tell application "Outlook Express"
>
set newMessage to make new draft window with properties
>
{subject:theSubject, to recipients:"Joe Bow <email@hidden>",
>
content:theContent, attachment:{file:theDoc}}
>
end tell
>
>
You checked the wrong dictionary. That paltry dictionary which has nothing
but CreateMail is from the Microsoft Outlook dictionary (i.e. Outlook 2001
for Mac).
So which are you trying to script: Outlook Express (which almost everyone on
a Mac has) or Outlook 2001 (which only people using Exchange Server have)?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.