Mofi, or anyone:
Can someone help me? What I want to do is to have text "bracketed" with delimiters, have the script select the text in the bracketed area, count the words, characters and lines within this area, deselect it, and put the status just below the bracketed area.
For instance:
// begin calculation
this is some text, with two lines.
This is a second line.
// end calculation
Total lines: 3
Total characters (including eol): 62
Total words: 12
The above would count starting with the first "this" and ending with "second line." Counting eol (end of line) is AOK, as well as blank lines.
A script, no a macro is what I would like to have.
Can someone help me? What I want to do is to have text "bracketed" with delimiters, have the script select the text in the bracketed area, count the words, characters and lines within this area, deselect it, and put the status just below the bracketed area.
For instance:
// begin calculation
this is some text, with two lines.
This is a second line.
// end calculation
Total lines: 3
Total characters (including eol): 62
Total words: 12
The above would count starting with the first "this" and ending with "second line." Counting eol (end of line) is AOK, as well as blank lines.
A script, no a macro is what I would like to have.