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

Discuss the word processor

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

Postby worlok » Mon Sep 14, 2009 7:09 pm

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
worlok
 
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: no visible word count in OpenOffice writer

Postby Villeroy » Mon Sep 14, 2009 7:23 pm

Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27364
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: no visible word count in OpenOffice writer

Postby worlok » Mon Sep 14, 2009 7:44 pm

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
worlok
 
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

Re: no visible word count in OpenOffice writer

Postby Villeroy » Mon Sep 14, 2009 8:29 pm

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, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27364
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: no visible word count in OpenOffice writer

Postby acknak » Mon Sep 14, 2009 8:32 pm

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
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

Postby worlok » Mon Sep 14, 2009 8:41 pm

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

Postby worlok » Mon Sep 14, 2009 9:06 pm

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

Postby worlok » Tue Sep 15, 2009 4:03 pm

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
worlok
 
Posts: 12
Joined: Sat Sep 05, 2009 11:19 pm

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

Postby yawar » Fri Sep 10, 2010 3:02 am

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-live-word-count/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
yawar
 
Posts: 3
Joined: Fri Sep 10, 2010 1:26 am

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

Postby franx » Fri Sep 10, 2010 9:56 am

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 56768 times

:super:
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

Postby yawar » Sat Sep 11, 2010 2:23 am

Sweet, looks good :-)
OpenOffice.org 3.2.1 on Mac OS X 10.6.4
yawar
 
Posts: 3
Joined: Fri Sep 10, 2010 1:26 am

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

Postby singularity45 » Thu Oct 14, 2010 11:51 am

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
singularity45
 
Posts: 3
Joined: Fri Oct 08, 2010 9:22 am

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

Postby franx » Wed Mar 16, 2011 12:10 am

"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

Postby franx » Mon Mar 21, 2011 7:11 pm

"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-live-word-count/overview>

yawaramin / OO.o Live Word Count / Changesets
https://bitbucket.org/yawaramin/oo.o-li ... changesets
<https://bitbucket.org/yawaramin/oo.o-live-word-count/changesets>
LibreOffice 4.0.4 · WinXP
User avatar
franx
Volunteer
 
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: no visible word count in OpenOffice writer

Postby GreenTea13 » Fri May 06, 2011 8:37 pm

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
GreenTea13
 
Posts: 1
Joined: Fri May 06, 2011 8:34 pm

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

Postby RoryOF » Fri May 06, 2011 8:42 pm

Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29863
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

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

Postby franx » Fri May 06, 2011 9:15 pm

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-live-word-count/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
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

Postby JulieC » Wed Nov 16, 2011 12:55 pm

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
JulieC
 
Posts: 3
Joined: Wed Nov 16, 2011 12:44 pm

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

Postby Villeroy » Wed Nov 16, 2011 1:31 pm

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, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27364
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

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

Postby JulieC » Wed Nov 16, 2011 1:41 pm

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

Postby JulieC » Wed Nov 16, 2011 1:51 pm

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
JulieC
 
Posts: 3
Joined: Wed Nov 16, 2011 12:44 pm

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

Postby hundred4ever » Tue Nov 27, 2012 5:50 pm

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)
hundred4ever
 
Posts: 1
Joined: Tue Nov 27, 2012 5:43 pm

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

Postby Hagar Delest » Sun May 25, 2014 10:58 am

For the record, some update with an extension created for that: [Solved and Issue] Add Word Count to the Status Bar.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28621
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to Writer

Who is online

Users browsing this forum: No registered users and 40 guests