RE: Scripting Microsoft Outlook
RE: Scripting Microsoft Outlook
- Subject: RE: Scripting Microsoft Outlook
- From: "Wadson, David" <email@hidden>
- Date: Mon, 6 May 2002 11:51:46 -0400
I've been using:
set message_subject to "Message subject line"
set message_body to "Message body text"
set message_recipients to {"email address"}
tell application "Microsoft Outlook"
CreateMail Subject message_subject Body message_body Recipients
message_recipients without Display
end tell
Tacking on the "without Display" seems to eliminate the error...
David Wadson
Coordinator of Graphic Services
The Chronicle-Journal
>
----------
>
From: Chad Chelius
>
Sent: Monday, May 6, 2002 11:20 AM
>
To: email@hidden
>
Subject: Scripting Microsoft Outlook
>
>
I have written a simple script that tells Microsoft outlook to send an
>
e-mail to a specified recipient using the CreateMail feature. My script
>
looks like this:
>
>
tell application "Microsoft Outlook"
>
CreateMail Subject:"Test", Recipient:{"email@hidden"}
>
end tell
>
>
The script seems to work and the mail gets sent, but every time I run It I
>
get an applescript message that says: "Microsoft Outlook Got an Error:
>
Some
>
Parameter is missing for CreateMail. Has anyone seen this before and know
>
what I am doing wrong?
>
>
--
>
Chad Chelius
>
Systems Administrator
>
Offset Impressions, Inc.
>
email@hidden
>
610-236-4722
>
_______________________________________________
>
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.
_______________________________________________
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.