- Experimenting with visitmix.com lab’s Gestalt
- Saint Shenanigans
- Speed, Quality, Cheap. Pick any Two.
- State of Software Design in NSW HSC
- It is not the Apple Tablet, it is the Store
- Facial Update
- Why the Quietness?
- What does Transparency mean to me?
- The long search for the perfect WPF Twitter Client. Over.
- #auteched week begin
- Twenty Years Ago Today
- Where is Nick?
- Sanity Prevails
- 28 Weeks. 18 Weeks Down
- New Windows Home Server
- Japan Photo
- Microsoft and Web 2.0 Stuff
- Bing Box on your Website or Blog
- New.CloudApp();
- Fifth Barcamp Sydney, Saturday June 27th
InDesign 2.0: Word Count using Visual Basic
By Nick Hodge | January 7, 2002
Adding a Word Count to InDesign 2.0
TextCounter (Win) on Adobe Studio Exchange
One of the features missing from InDesign since its first version is a word count feature. In a fit of quiet rage and sheer stupidity, I wrote this simple Visual Basic 6.0 application that pops up a small window displaying the word count of the current selected story.
There is a Timer named tLexLuthor that waits around for a period of time
![[1008] 01 lois lane timer](http://media.nickhodge.com/legacy/1008.gif)
Just in case the user doesn’t want this turned on, there is a status button called bStart that toggles the timer tLexLuthor on and off.
![[1009] 02 lois lane button](http://media.nickhodge.com/legacy/1009.gif)
And finally there is a status field (read only) called lStatus. This is where the current word count is stored.
![[1010] 03 lois lane label status](http://media.nickhodge.com/legacy/1010.gif)
… And when running, this is how it looks.
![[1011] 04 lois lane in action](http://media.nickhodge.com/legacy/1011.gif)
The Visual Basic source that sits behind this small application is as follows:
|
The project and executable is here:Lois Lane example downloadable (3K)
Topics: mungenet | 2 Comments »




September 5th, 2007 at 6:39 pm
[…] InDesign 2.0: Word Count using Visual BasicNick HodgeScripting in InDesign 2.0 to add word count […]
September 6th, 2007 at 8:03 am
[…] only a word count: InDesign CS also counts sentences, lines and characters. No more need for InDesign 2.0: Word Count using Visual Basic! The above image depicts a text frame that contains a certain number of characters/words etc, and […]