• 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
Mail Applescript Error in Mail 10.1.5 and not in 10.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail Applescript Error in Mail 10.1.5 and not in 10.2?


  • Subject: Mail Applescript Error in Mail 10.1.5 and not in 10.2?
  • From: John Cebasek <email@hidden>
  • Date: Wed, 20 Nov 2002 14:55:37 -0500

Hi All:

I wrote a little script that starts mail, attaches a document, and
fills a couple of fields. I've integrated into our product and it
works fine in 10.2.x with Mail 10.2.x. (Which is where I developed it)

Along comes the boss and tries it in 10.1.5 with 10.1.5 mail and the
script doesn't create a mail message. I run the script in 10.1.5's
script editor and I get an error NSCantCreateScriptCommandError on the
line:

set newMessage to make new outgoing message with properties
{subject:subjectvar, content:bodyvar & return & return}

I'm guessing that make "new outgoing message()" doesn't work in 10.1.5
Mail?

Is there a syntax that I can use that works between both 10.2 and
10.1.5.

Thanks in advance for your time


John Cebasek
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Mail Applescript Error in Mail 10.1.5 and not in 10.2?
      • From: cricket <email@hidden>
  • Prev by Date: Re: Execute script code in email body
  • Next by Date: Re: Just curious
  • Previous by thread: Re: Making Terminal quit
  • Next by thread: Re: Mail Applescript Error in Mail 10.1.5 and not in 10.2?
  • Index(es):
    • Date
    • Thread