Pages 09 word count excluding footnotes

Discussion in 'Mac Apps and Mac App Store' started by JuliaYolda, Aug 14, 2009.

  1. macrumors newbie

    Joined:
    Aug 14, 2009
    #1
    Hey,
    does anyone know how I can exclude the footnotes in my word count?

    thanks!

    Julia
     
  2. macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
    #2
    Here's a possibility ...

    Hit Command-A to select the entire document.
    Then press the Inspector button, choose Document and choose info.
    The "Range" will be the selection, which will be only the text of your document, not the footnotes.

    Not the best, but it works.

    mt
     
  3. macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
    #3
    Curiously, this script seems to present the correct number:

    Code:
    tell application "Pages"
    	set fileName to the name of document 1
    	set numWords to the count of words of document 1
    	display dialog fileName & " has " & (numWords as text) & " words"	
    end tell
    
    In case you don't know ...

    If you run AppleScript Utility, you'll get a script menu. Create this script and save it in:

    /Users/<your user name>/Library/Scripts/Applications/Pages/

    folder. It will appear at the bottom of the AppleScript menu.

    mt
     
  4. macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
    #4
    And this script:

    Code:
    tell application "Pages"
    	set fileName to the name of document 1
    	set numWords to the count of words of document 1
    	set numChars to the count of characters of document 1
    	set numGrafs to the count of paragraphs of document 1
    	display dialog fileName & " has " & return & ¬
    		"  " & (numChars as text) & " characters" & return & ¬
    		"  " & (numWords as text) & " words" & return & ¬
    		"  " & (numGrafs as text) & " paragraphs"	
    end tell
    gives the actual characters -- which includes spaces and empty paragraphs -- and the actual paragraphs -- Pages strips out blank paragraphs from its count. For example:

    "Paragraph One

    Paragraph Two"

    would be three paragraphs under the script but two paragraphs according to Pages. I can see how Pages paragraph counting is helpful, but I don't get the character count (and Word does the same thing).

    mt
     

Share This Page