[Solved+Issue] No visible word count in OOo Writer

Discuss the word processor
Post Reply
worlok
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

[Solved+Issue] No visible word count in OOo Writer

Post by worlok »

There's two ways to see your word count on OpenOffice, and both of them involve having to click through menus.

It would be very useful to have a running word count that is visible at all times on the taskbar, similar to the way MS Word does it. Where can one enter enhancement requests? Thanks.
Last edited by Hagar Delest on Tue Apr 10, 2012 3:05 pm, edited 3 times in total.
Reason: tagged the thread as Issue (link to a bug report).
OpenOffice 3.11 on Windows Vista 64-bit
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: no visible word count in OpenOffice writer

Post by Villeroy »

There is at least one easy to install 'Live' Word Counter?.
[Tutorial] Reporting bugs or suggestions
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
worlok
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: no visible word count in OpenOffice writer

Post by worlok »

I don't see anything easy to install about that word counter macro. Thanks for suggesting it though.
OpenOffice 3.11 on Windows Vista 64-bit
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: no visible word count in OpenOffice writer

Post by Villeroy »

Download http://www.mediafire.com/download.php?oz1w1rkdyyw
You'll get a file wc.py
Visit directory \Users\<user name>\AppData\Roaming\OpenOffice.org\3\user\Scripts\ and create a new directory named python
There you put the downloaded file.

Test the new gimmick:
Open a Writer document.
Run Tools>Macros>Organize>Python>My Macros>wc>wordCount

You get a small floating window which shows 15832 words for my document and when I enter a target value of 16000 it shows 98.95 Percent.

If you like it, add a button, keyboard shortcut or menu entry and assign it's action to the macro (Tools>Customize...)
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: no visible word count in OpenOffice writer

Post by acknak »

See Issue 41454: Add a character/word count in the status bar
You can register there and add your vote (up to two) or comment.
AOO4/LO5 • Linux • Fedora 23
worlok
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: no visible word count in OpenOffice writer

Post by worlok »

Thank you. While I would love for the developers to add a running word count to the status bar at the bottom for any open doc, this is useful. Thanks for showing me how to do it.
OpenOffice 3.11 on Windows Vista 64-bit
worlok
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: [Solved] No visible word count in OpenOffice Writer

Post by worlok »

FYI I can run the macro but when I try to add it to the toolbar for a quick launch option it fails, so I have to go through the menus to get to and run it. I can still use it but I thought that you should know that it cannot launch when you assign it to a toolbar button.
OpenOffice 3.11 on Windows Vista 64-bit
worlok
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: [Solved] No visible word count in OpenOffice Writer

Post by worlok »

The cool thing is that when this word count macro floating window is open, if I switch to another open document it changed it's word count to reflect the active document. This is very nice. ;)
OpenOffice 3.11 on Windows Vista 64-bit
yawar
Posts: 3
Joined: Fri Sep 10, 2010 1:26 am

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by yawar »

Hi,
worlok wrote:FYI I can run the macro but when I try to add it to the toolbar for a quick launch option it fails, so I have to go through the menus to get to and run it. I can still use it but I thought that you should know that it cannot launch when you assign it to a toolbar button.
First of all thanks for mentioning the script. I'm the author and I just wanted to point any past and future readers of this thread to its new home: http://bitbucket.org/yawaramin/oo.o-liv ... /wiki/Home where I talk about this problem (and hopefully solve it).

I hope the BitBucket page will serve as a hub for all users and maybe build up a community.

Cheers,

Yawar
OpenOffice.org 3.2.1 on Mac OS X 10.6.4
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by franx »

Thanks, that works fine for me [OOo-dev 3.3.0 OOO330_m7 on WinXP).

WordCount – added to Tools toolbar; modified: Change icon...
wordCount_3.png
wordCount_3.png (18.16 KiB) Viewed 62521 times
:super:
LibreOffice 4.0.4 · WinXP
yawar
Posts: 3
Joined: Fri Sep 10, 2010 1:26 am

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by yawar »

Sweet, looks good :-)
OpenOffice.org 3.2.1 on Mac OS X 10.6.4
singularity45
Posts: 3
Joined: Fri Oct 08, 2010 9:22 am

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by singularity45 »

Thanks: acknak: "See Issue 41454: Add a character/word count in the status bar
You can register there and add your vote (up to two) or comment."

I have just tried to comment and vote on this issue but the issue page seems to be experiencing problems: The server at qa.openoffice.org is taking too long to respond.

I definitely want a visible word count status. :D
OpenOffice 3.1 on Windows Vista
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by franx »

"Follow-up"

"[...] I was so lucky to find a instant word counter from
<https://bitbucket.org/yawaramin/oo.o-live-word-count/overview>
and started to hack on it. [...]"

Read more...
Macroprogramming with Python
by Leif Lodahl, 2011-03-15

:bravo:
LibreOffice 4.0.4 · WinXP
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by franx »

"Follow-up 2"

wc_py_"19-hours-ago" LibO 3.3.2 RC2
wc_py_19-hours-ago.png
yawaramin / OO.o Live Word Count / Overview
https://bitbucket.org/yawaramin/oo.o-li ... t/overview
<https://bitbucket.org/yawaramin/oo.o-li ... t/overview>

yawaramin / OO.o Live Word Count / Changesets
https://bitbucket.org/yawaramin/oo.o-li ... changesets
<https://bitbucket.org/yawaramin/oo.o-li ... changesets>
LibreOffice 4.0.4 · WinXP
GreenTea13
Posts: 1
Joined: Fri May 06, 2011 8:34 pm

Re: no visible word count in OpenOffice writer

Post by GreenTea13 »

Villeroy wrote:Download http://www.mediafire.com/download.php?oz1w1rkdyyw
You'll get a file wc.py
Visit directory \Users\<user name>\AppData\Roaming\OpenOffice.org\3\user\Scripts\ and create a new directory named python
There you put the downloaded file.

Download link doesn't work anymore. :(
Is there anywhere else I can download this at??
OpenOffice 3.3.0 on Windows 7
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by RoryOF »

Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by franx »

Hi,
That's a pretty old (outdated) version:
wc.py - 4KB - v2009-05-23
 Edit: ... that seems to be something else:
"Initial version, released by Thomas Riggs into the public domain.
[...]
It is also important to note that the script will only perform word counts on text files (.txt).
It theoretically supports any other plain-text files, but currently filters by file extension." 
Try → https://bitbucket.org/yawaramin/oo.o-live-word-count/downloads
<https://bitbucket.org/yawaramin/oo.o-li ... /downloads>

Dowload "zip" [= yawaramin-oo.o-live-word-count-0902789fbd5e.zip]
wc.py - 10 KB - v2011-03-24

... and have a look at the Changesets
:)
LibreOffice 4.0.4 · WinXP
JulieC
Posts: 3
Joined: Wed Nov 16, 2011 12:44 pm

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by JulieC »

I'll apologise in advance because I am clueless about technical stuff, I've moved to OpenOffice from MS Office, and I'm working on a brand-new OS for me, which makes it more confusing.

I'm trying to get a running word count for OpenOffice Writer version 3.3.0, which I'm running on my Mac OSX 10.7.2. I've visited Yawar's BitBucket page as he suggests, but when I try to download the file, all I get is a Safari window full of text. Not a .py file.

In addition, I don't seem to have an OpenOffice.org folder in my Application Support library. It just doesn't exist, so I can't drag the .py file in there even if I could download it.

Is there an idiot-proof way to install this macro, please? I really really need a running wordcount, please please please.
Julie x
OpenOffice 3.3.0
Mac OSX 10.7.2
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by Villeroy »

When you click the file and see its content, your Safari browser has opened that file for viewing. There might be some way to actually download the file into a well known personal directory on your machine. It is really as simple as download, create python directory, put file into directory. This is what should be doable under any operating system.

The python directory you need to create might be this one:
/Users/<your user name>/Library/Application Support/OpenOffice.org/3/user/Script/python/
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
JulieC
Posts: 3
Joined: Wed Nov 16, 2011 12:44 pm

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by JulieC »

But I don't have an OpenOffice.org folder in my Application Support file? Should I just create one from scratch, and Open Office will find it somehow when it comes to run the macro?

(sorry, am truly clueless)

Thank you so much Villeroy!
Julie x
OpenOffice 3.3.0
Mac OSX 10.7.2
JulieC
Posts: 3
Joined: Wed Nov 16, 2011 12:44 pm

Re: [Solved+Issue] No visible word count in OpenOffice Write

Post by JulieC »

I've just tried creating the file you recommend and downloading the file into it. But it doesn't appear as a macro under the Run Macro menu, and I can't find it anywhere else.

As I said, truly clueless.
Julie x
OpenOffice 3.3.0
Mac OSX 10.7.2
hundred4ever
Posts: 1
Joined: Tue Nov 27, 2012 5:43 pm

Re: [Solved+Issue] No visible word count in OOo Writer

Post by hundred4ever »

Thanks so much, this works perfectly.

First I downloaded a shortcut and it didn't work properly, then I right-clicked, clicked save target as, then put it in the folder.

You are awesome! :bravo:
Scraping by... OpenOffice 3.4.1 on Windows Vista (32 bit)
User avatar
Hagar Delest
Moderator
Posts: 32627
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved+Issue] No visible word count in OOo Writer

Post by Hagar Delest »

For the record, some update with an extension created for that: [Solved and Issue] Add Word Count to the Status Bar.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply