Page 1 of 1

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

Posted: Mon Sep 14, 2009 7:09 pm
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.

Re: no visible word count in OpenOffice writer

Posted: Mon Sep 14, 2009 7:23 pm
by Villeroy
There is at least one easy to install 'Live' Word Counter?.
[Tutorial] Reporting bugs or suggestions

Re: no visible word count in OpenOffice writer

Posted: Mon Sep 14, 2009 7:44 pm
by worlok
I don't see anything easy to install about that word counter macro. Thanks for suggesting it though.

Re: no visible word count in OpenOffice writer

Posted: Mon Sep 14, 2009 8:29 pm
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...)

Re: no visible word count in OpenOffice writer

Posted: Mon Sep 14, 2009 8:32 pm
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.

Re: no visible word count in OpenOffice writer

Posted: Mon Sep 14, 2009 8:41 pm
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.

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

Posted: Mon Sep 14, 2009 9:06 pm
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.

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

Posted: Tue Sep 15, 2009 4:03 pm
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. ;)

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

Posted: Fri Sep 10, 2010 3:02 am
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

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

Posted: Fri Sep 10, 2010 9:56 am
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 62670 times
:super:

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

Posted: Sat Sep 11, 2010 2:23 am
by yawar
Sweet, looks good :-)

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

Posted: Thu Oct 14, 2010 11:51 am
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

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

Posted: Wed Mar 16, 2011 12:10 am
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:

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

Posted: Mon Mar 21, 2011 7:11 pm
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>

Re: no visible word count in OpenOffice writer

Posted: Fri May 06, 2011 8:37 pm
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??

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

Posted: Fri May 06, 2011 8:42 pm
by RoryOF

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

Posted: Fri May 06, 2011 9:15 pm
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
:)

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

Posted: Wed Nov 16, 2011 12:55 pm
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.

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

Posted: Wed Nov 16, 2011 1:31 pm
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/

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

Posted: Wed Nov 16, 2011 1:41 pm
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!

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

Posted: Wed Nov 16, 2011 1:51 pm
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.

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

Posted: Tue Nov 27, 2012 5:50 pm
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:

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

Posted: Sun May 25, 2014 10:58 am
by Hagar Delest
For the record, some update with an extension created for that: [Solved and Issue] Add Word Count to the Status Bar.