Can anyone suggest a way to count lines? Counting "\n" occurrences would do. I'm looking to get this number into a "$variable"
Thanks
Line Counts
\n
if you do a find all of '\n'
it will highlight all new lines and then in the finder window list all the \n that were found
It seems like an applescript should work to, but I am just learning that...
...and not that fast
it will highlight all new lines and then in the finder window list all the \n that were found
It seems like an applescript should work to, but I am just learning that...
...and not that fast
I have never let my schooling interfere with my education/Mark Twain (1835-1910)
- martin
- Official Nisus Person
- Posts: 5228
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
The Find macro command returns the number of occurrences that matched, so it should be as simple as:
Code: Select all
$newlineCount = Find All "\n"