Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: Att:Jolly Roger Re: A program to show all Mac Mail Rules? Date: 22 Dec 2014 06:17:34 GMT Organization: People for the Ethical Treatment of Pirates Lines: 40 Message-ID: References: <54933244$0$29453$c3e8da3$e074e489@news.astraweb.com> <5494a437$0$19825$c3e8da3$33881b6a@news.astraweb.com> <5494d8df$0$27606$c3e8da3$dbd57e7@news.astraweb.com> <54959a13$0$42930$c3e8da3$5e5e430d@news.astraweb.com> X-Trace: individual.net H1Rr2lAPG22O4AVnPVUzZgcErr+NpxJL84bMys+qzul7dhlfHQ Cancel-Lock: sha1:geRfIjMcdn3jhF81RlrybvMcKkI= X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.system:67752 On 2014-12-20, Jolly Roger wrote: > > Okay, that's a spreadsheet containing only the conditions for one single > rule. What about all the other properties the script is already > outputting? Where do they go? Also, what about the other rules with > different conditions? If you have, say, twelve rules, each with a > completely different number and type of conditions, how will you present > that in a single spreadsheet? Or were you perhaps thinking that each > rule would have its own spreadsheet? Either way, you need to define it > before coding it. If you really want to understand the problem, do this > exercise: make a new spreadsheet to hold your rules, add a column for > each and every rule property you want to track, and then manually fill > it in with a couple different rules with a different set of conditions > for each rule. If you can show me what you want, I'll be happy to modify > the script accordingly for you. : ) I had some time to think about this tonight and came up with one potential solution. The modified script outputs one "All Rules" master list containing a list of all rules and their properties except the conditions. Then for each rule, the script creates another "Rule n Conditions" file - one for each rule, containing a list of all conditions for a given rule. So you end up with something like this: All Rules.csv Rule 1 Conditions.csv Rule 2 Conditions.csv Rule 3 Conditions.csv Rule 4 Conditions.csv Rule 5 Conditions.csv ...and so on Enjoy. : ) -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR