Re: AppleScript Mail Rules
Re: AppleScript Mail Rules
- Subject: Re: AppleScript Mail Rules
- From: Philip Aker <email@hidden>
- Date: Tue, 10 Sep 2002 03:19:58 -0700
On Monday, September 9, 2002, at 09:45 AM, bill fancher wrote:
"Rules
Additional criteria and more actions. Run an AppleScript, act only
on senders that are in Address Book, and automatically flag messages.
You can use multiple critera to get even more sophisticated."
I had taken the above quote to mean that one can "run an AppleScript"
as the action associated with a rule, as in Outlook Express. In fact,
I can't see any other way to interpret the above; but there seems to
be no way to do this (nothing in the dictionary seems to allow it, nor
does the application UI). I've been hoping I hosed my installation
somehow (I have a "non-standard" Mail configuration), but I'm
beginning to suspect that the feature never shipped.
No M$ applications on my disk (that I know about) so I'm taking that it
coordinates with "Perform the following actions" in the Rules of Mail
preferences (and not arbitrary scripts to be executed as a rule).
Adding a line to set "transfer message" gives me an
NSUnknownKeyScriptError. I assume that's what you're seeing.
Yes, but I've got it working now. Should be:
set transfer message to a reference to mailbox "box" of application
"Mail"
or
set transfer message to a reference to mailbox "boxfolder/box" of
application "Mail"
Philip Aker
http://www.aker.ca
_______________________________________________
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.