Reminder: My Google Writing Scripts are Available on GitHub

After my inaugural post for The Daily Beast appeared, I’ve been asked almost daily if the scripts I mentioned in the post are available. They are available on GitHub. I put them there last July. I hesitated to mention them in the post on TDB because I didn’t want to come across as promoting my own stuff. But since I’ve been asked almost daily since the post appeared, I’m thinking that maybe I should have. Ah, well. If folks are interested in trying out the scripts, or improving upon them, you can access the code on GitHub. Be sure to read all of the instructions there to get them working correctly.

6 comments

  1. Using the default folders I keep getting an error when I run getDailyWordCount: Document is missing (perhaps it was deleted?) (line 194, file “Code”). 194 is the line in getFileWordCount that reads: var doc = DocumentApp.openById(id);

    There are files in the Sandbox, so I’m not sure what the issue is. Too bad – it’d be neat to get these daily stats but not neat enough to spend more than the hour I’ve already spent trying to figure it out. 🙂

    1. Heather, when I wrote the code, I never expected anything other than Google Doc files in the Sandbox and that’s what the code expects. I’ve added an issue when I get around to it, to modify the loop to ignore any files that aren’t of the type “Google Doc.”

      1. I just wanted to say “Thank you”. I LOVE the scripts. The anticipation of seeing the stats everyday has pushed me to write daily. I get a small surge of adrenaline each day when I review the numbers or words from yesterday.

        Now, if I could coax your Daily Almanac script off of you…(wink, wink, nudge, nudge)

        1. Thank you, Othello! I’m so glad to hear you find them useful. And yes, I would like to make the Daily Almanac code available at some point. My biggest roadblock (aside from time) is that that particular code is highly tailored to my own preferences and process and may not necessarily work for others. But I guess that I could dump the code out there and let people decide for themselves. I’ll try and get it done in the not-too-distant future.

  2. Jamie –

    I just wanted to say thanks for sharing your scripts. I ended up modifying them to suit my own needs (track multiple folders, limited to only DOC files, etc.), but I used your code as my initial base to work from.

    Once I get a few things cleaned up I’ll try to post the updates to GitHub as a forked project. Anyways, just wanted to say “thanks” for the generosity. The scripts worked great for me!

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.