Add Instant Word Count Feature to OpenOffice.org Writer

Dmitri Popov

Productivity Sauce

Sep 23, 2010 GMT
Dmitri Popov

While the Writer's Tools extension for OpenOffice.org is developed and maintained by your truly includes the Visual Word Count tool, it does have one serious drawback: it uses a modal window, i.e., you can't do anything until you close the Visual Word Count window. Fortunately, there is an alternative solution that solves that problem. The Live Word Count macro for OpenOffice.org is written in Python, so it uses a non-modal window which can be opened alongside the current document. To install the macro, create a folder called python in the /home/USER/.openoffice.org/3/user/Scripts directory (where USER is your actual user name), grab the latest version of the script and put it in the created folder. To run the macro, launch OpenOffice.org Writer and choose Tools | Macros | Run Macro. Select then My Macros | wc | wordCount and press the Run button.

Instead of navigating through the menus every single time you want to launch the macro, you can create a menu item for it. To do this, choose Tools | Customize and select the desired menu (e.g., Tools) from the Menu drop-down list in the Menus section. Press the Add button and select the OpenOffice.org Macros | My Macros | wc | wordCount macro. This adds the macro to the selected menu. You can then use the Up and Down buttons to move the created menu item. To change the item's name, press the Modify button, choose Rename, and give the menu item a descriptive name (e.g., Live Word Count). Press OK, and you are done.

Thanks to Leif Lodahl for the tip.

Comments

  • Visual Word Count

    Yes, It is true. I would love to see in the status bar like in the other application. However, I think we could also have that pop up some where prominently where we can see in real time when we are working on the file..rather than stop the work, select the content and then go to the toolbar click on the button for the pop up to appear and then display. Isn't it laborious?

    happy
  • Word count should be in the status bar.

    The word count should be something displayed in the status bar along the bottom, and not need an ugly pop up window. It is a pity that this feature has long been requested, yet never implemented.
comments powered by Disqus

Issue 167/2014

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia