Re: Entourage or Mail.app?
Re: Entourage or Mail.app?
- Subject: Re: Entourage or Mail.app?
- From: cricket <email@hidden>
- Date: Wed, 2 Oct 2002 09:33:30 -0700
On Wednesday, October 2, 2002, at 04:34 AM, John C. Welch wrote:
1/2 is more accurate, but thanks for noticing! :)
If you throw in E'rage's schedules and rules abilities, 1/100th is
about
right ;-P
Isn't the point of this list to encourage the use of Applescript? :)
Mail doesn't have scheduling, so it would be pretty interesting if it
were Applescriptable. :) Rules, however, are very scriptable in Mail
(see below). Clearly, there are some holes in our scripting dictionary,
but it really is pretty extensive and checking out the dictionary and
actually using it (and reporting any bugs) will only make it get
better. Unsupported claims about how miniscule the dictionary don't
really help. :)
Feel free to slam the dictionary we _do_ have. But look at it first.
All of it. You missed a pretty big section of scriptable rules and
chances are, you missed more.
Thank you, and happy scripting,
- cricket
Class rule: Class for message rules
Plural form:
rules
Elements:
rule condition by numeric index, before/after another element, as a
range of elements, satisfying a test
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
is enabled boolean -- Indicates whether rule is enabled
redirect message list -- If rule matches, redirect message to this
address or multiple addresses, separate by commas. Set to empty string
to disable this action
delete message boolean -- If rule matches, delete message
should transfer message boolean -- Indicates whether the rule has a
transfer action
transfer message mailbox -- If rule matches, transfer to this mailbox
mark read boolean -- If rule matches, mark message as read
name Unicode text -- Name of rule
play sound Unicode text -- If rule matches, play this sound (specify
name of sound or path to sound)
all conditions must be met boolean -- Indicates whether all
conditions must be met for rule to execute
forward text Unicode text -- If rule matches, prepend this text to
the forwarded message. Set to empty string to include no prepended text
highlight text using color boolean -- Indicates whether the color
will be used to highlight the text or background of a message in the
message list
color message -- If rule matches, apply this color
stop evaluating rules boolean -- If rule matches, stop rule
evaluation for this message
forward message Unicode text -- If rule matches, forward message to
this address, or multiple addresses, separated by commas. Set to empty
string to disable this action
mark flagged boolean -- If rule matches, mark message as flagged
reply text Unicode text -- If rule matches, reply to message and
prepend with this text. Set to empty string to disable this action
run AppleScript Unicode text -- If rule matches, run this
AppleScript. Set to POSIX path of compiled AppleScript file. Set to
empty string to disable this action
Class rule condition: Class for conditions that can be attached to a
single rule
Plural form:
rule conditions
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
type -- Rule type
expression Unicode text -- Rule expression field
qualifier -- Rule qualifier (Contains, Does not contain, Starts with,
Ends with, Is equal to). Set to empty string to remove qualifier
header Unicode text -- Rule header key
----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
I chased away an elephant
_______________________________________________
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.