Hallo again!
One of the tasks in front of me with PN, is being able to count the numbers of words in sentences, or bit-streams and add the number, in brackets, following the sentence or bit stream.
Does anyone know of where I might find such a script?
Thanks and regards, patrick4kin.
Counting words in sentences and mouseover text patterns
(3 posts) (2 voices)-
Posted 1 year ago #
-
This is a fun question, you can start with something like this on the current selection:
words = len(selection.split())Then it's just a case of adding the result (words) after the sentence.
Posted 1 year ago # -
This script would be a useful example in this case:
Posted 1 year ago #
Reply
You must log in to post.