Re: AppleScript Runner Problems?
Re: AppleScript Runner Problems?
- Subject: Re: AppleScript Runner Problems?
- From: Luther Fuller <email@hidden>
- Date: Mon, 02 May 2011 16:42:55 -0500
On May 2, 2011, at 11:39 AM, S. J. Cunningham wrote: I have written a fairly trivial script to compose a new, pre-addressed Mail message and then open it for editing (see attached).
This may help ... or not ...
if my emailAddress(theItem) then tell application "Mail" activate set newMsg to make new outgoing message with properties {visible:true} tell newMsg to make new to recipient with properties {address:theItem} end tell return -- exit repeat end if
This creates an open message addressed to theItem ready for manual entry of content and subject. The emailAddress handler simply checks that theItem is actually a valid email address.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden