Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting bridge Mail rule condition




Anyone know how to get a MailRuleCondition object from a MailRule? I have no problem getting the rest of the parts of a rule but I can't get the rule conditions. I thought I could just do something like this:


SBElementArray *conditions = [someRule ruleConditions];

NSString *expression = [conditions objectWithName: @"expression"];

What I get is something like this:
<MailRuleCondition @0x1e25c0: MailRuleCondition "expression" of MailRule 22 of application "Mail" (8087)>




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.