Re: Set variable to contents of incoming message
Re: Set variable to contents of incoming message
- Subject: Re: Set variable to contents of incoming message
- From: Michelle Steiner <email@hidden>
- Date: Fri, 17 Aug 2012 09:08:04 -0700
On Aug 17, 2012, at 8:55 AM, Tony Bennett wrote: I want to assign the content of an incoming message to a variable which will be parsed and saved to a file. The script will be called from a Mail rule.
Here's how to do it from a selected message; you should be able to modify it for a mail rule:
tell application "Mail" set myVariable to the content of item 1 of (get the selection) end tell
-- Michelle
-- Windows Vista: Viruses, Intrusions, Spyware, Trojans, and Adware.
|
_______________________________________________
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