word count

1,148 views
Skip to first unread message

msadesign

unread,
Aug 16, 2008, 5:17:29 PM8/16/08
to BBEdit Talk
Can anyone tell me how to count words in BBedit?

I really need to count words and I have no clue how to do it.

Thanks.

Rich Siegel

unread,
Aug 19, 2008, 10:45:49 AM8/19/08
to bbe...@googlegroups.com
On 8/16/08 at 5:17 PM, msad...@gmail.com (msadesign) wrote:

>Can anyone tell me how to count words in BBedit?

It depends on the context in which you need to do so: in the
scripting interface, "word" is an element of the "text document"
class, so you could write a script:

tell app "BBEdit"

count words of text document 1

end tell

Alternatively, the "Get Info" command on the View menu will
display (among other things) the document's word count.

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they
sedate me.

msadesign

unread,
Aug 20, 2008, 11:46:33 AM8/20/08
to BBEdit Talk
Thanks Rich!
Reply all
Reply to author
Forward
0 new messages