Welcome, Guest. Please Login or Register.
eccoMAGIC Forums
12/03/21 at 12:53:35
News: "Breathtaking" (Check out the new MagicView release at EccoTools.com)
Home Help Search Login Register


Pages: 1
Send Topic Print
  Rating
Rate:
Rating:
Rating: 9.00
Votes: 2

5
4
3
2
1









2


5
4
3
2
1


1


2


3


4


5


6


7


8


9


10

Re: Word count (Popularity: 4657 )
Admin
Administrator
*****


I love Ecco!

Posts: 124
Show the link to this post Re: Word count
06/06/12 at 07:42:07
 

 
here is an update:
 
Auto-Rule that calculates total of item AND total of all sub items...
 
 
Code:
++:!+-MNFICP:len(replace(replace(replace(ITT,"!",".",1),"[A-Za-z][\w'\-]*","!",1),"[^!]","",1))  + sumc(fv("WordCount"), !fv("Skip")) : (ITT  OR [WordCount]) AND ([CountEm?] OR [^CountEm?])
++:!+: (len(replace(replace(replace(ITT,"!",".",1),"[A-Za-z][\w'\-]*","!",1),"[^!]","",1))  + sumc(fv("WordCount")) - [MaxCount]) * -1: [MaxCount]
 


 
 
How to use:
 
WordCount is a numeric folder where this rule resides.
CountEm? if a check folder that turns on/off counting for an item and all its children.
MaxCount is a numeric folder that contains MAX COUNT value.  The difference with the sum of word count of children is shown in WordCount folder instead of count value.
Skip is check folder that allows SKIPPING selected sub items from the count total.
 
 
Back to top
 
 

The Administrator.
WWW   IP Logged
Pages: 1
Send Topic Print