Re: Mail.app automation
Re: Mail.app automation
- Subject: Re: Mail.app automation
- From: Michelle Steiner <email@hidden>
- Date: Mon, 8 Sep 2003 11:03:45 -0700
On Monday, September 8, 2003, at 03:54 AM, Neil Faiman wrote:
I must be missing something. Is there some reason that this does not
meet your needs, as far as getting the headers is concerned?
-Neil Faiman
tell application "Mail"
set theSelection to the selection
set theMessage to some item of theSelection
get the headers of theMessage
end tell
For one thing, it gives me an error on the last word of "set
theSelection to the selection"
--> "Mail got an error: NSCannotCreateScriptCommandError"
For another, I don't want to get the headers; I want to forward the
entire message, including the headers.
--
Impeach The Son Of A Bush!
_______________________________________________
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.