Welcome, Guest. Please Login or Register.
eccoMAGIC Forums
03/29/24 at 05:36:06
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: 5597 )
Admin
Administrator
*****


I love Ecco!

Posts: 134
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