• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Basic Outlook Express script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Basic Outlook Express script (From: John Cebasek <email@hidden>)

  • Prev by Date: Re: How does one submit a bug report to Apple?
  • Next by Date: Re: Droplet Problem
  • Previous by thread: Re: Basic Outlook Express script
  • Next by thread: RE: Basic Outlook Express script
  • Index(es):
    • Date
    • Thread