Mail Applescript Error in Mail 10.1.5 and not in 10.2?
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.