Re: Mail and FileMaker
Re: Mail and FileMaker
- Subject: Re: Mail and FileMaker
- From: Michelle Steiner <email@hidden>
- Date: Wed, 18 Jul 2007 10:16:11 -0700
On Jul 18, 2007, at 9:58 AM, Mike Matthews wrote:
Actually, I should have clarified: I'd like to run the script while
the outgoing message window is open, but before sending the message.
The only way I've figured out how to do that is to manually save the
message--by pressing command-S and then running this script:
tell application "Mail"
tell message viewer 1
repeat with thisMessage in the messages of the drafts mailbox
set theContent to the content of thisMessage
repeat with theRecipient in the recipients of thisMessage
set thePerson to the name of theRecipient
set theEmail to the address of theRecipient
my FilemakerRoutine(theContent, theRecipient, theEmail)
end repeat
end repeat
end tell
end tell
The only change from the previous script is the mailbox.
-- Michelle
--
"English has pursued other languages down alleyways to beat them
unconscious and rifle their pockets for new vocabulary."
_______________________________________________
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