Wordcount

Comments

4 comments

  • Avatar
    Aaron Robinette

    Yesss, feel so silly copy/pasting to word counters all the time. It would be nice if it either counted down from the highest level parent node you check it from, or counted a selection (perhaps by default in the pop-up that appears when you highlight multiple nodes?). 

    It would also be nice if you could toggle a little 'always on' display for the word count of a parent node too, so you can see it in realtime. Maybe floating in the corner as there is lots of screenspace real estate to the right of the program?

    0
    Comment actions Permalink
  • Avatar
    Tim Heymans

    Yes! Yes! Yes!
    We need Wordcounts.
    I'm a writer and I need to no know how much I've written.

    Legend app already has this feature.... But unfortunately it doesn't have colored text (for now), which is why I'm sticking with Workflowy.

    0
    Comment actions Permalink
  • Avatar
    Joseph

    At the top of Workflowy, there is plenty of empty space to add a quick word count for whatever you highlight. 

    For example: this photoshop edit I made to demonstrate how it could work:

    0
    Comment actions Permalink
  • Avatar
    William J Maya

    All - I would love an integrated word count function and I made the same request five years ago (see this post).

    In the meantime, I've been using this piece of JavaScript code in a bookmark to display a node word count in a banner message in the browser (I didn't create the code).

    javascript:(function wordCount_1_0(){function countWords(str){return str.split(/\s+/).filter(n=>n.search(/\w/)!==-1).length}function truncate(str,n){return str.length>n?`${str.substring(0,n)}...`:str}const item=WF.focusedItem()||WF.currentItem();const wc=countWords(WF.exportText([item]));WF.showMessage(`${truncate(item.getNameInPlainText(),100)}<br><b>Word count = ${wc}</b>`)})();

    Here is the same code formatted nicely.

    javascript:(

    function wordCount_1_0() 
    {
      function countWords(str)
      {
        return str.split(/\s+/).filter(n=>n.search(/\w/)!==-1).length
      }
      
      function truncate(str,n)
      {
        return str.length>n?`${str.substring(0,n)}...`:str
      }

      const item=WF.focusedItem()||WF.currentItem();
      const wc=countWords(WF.exportText([item]));

      WF.showMessage(`${truncate(item.getNameInPlainText(),100)}<br><b>Word count = ${wc}</b>`)
    }
    )();

    Simply create a new bookmark and place the code in the URL field.

    0
    Comment actions Permalink

Please sign in to leave a comment.