Storyist script again

Just a note if you downloaded the script and tried to get it working yesterday. I’ve made the following changes to the script this morning, so you will want to grab a fresh copy (see the Storyist to Google page for link and directions).

  • [Critical] Corrected a bug that was causing the script to re-copy your text every time it ran. Why critical? Because this meant that the timestamp on your file was always nowish, which could throw off the Google scripts from catching and processing the file.
  • [Minor] Added a somewhat convoluted attempt to remove extraneous whitespace from the file we generate into Google. With really large projects, this can help reduce the size of the file, plus it makes it easier for the diff scripts if they don’t have to compare all of your whitespace too.

If I was smart, I’d put all of this into github so you could track changes, instead of having download  links off of my dropbox account. That would be smart. Too bad I’m not so smart.

Also, it appears there are limits in Google, and I’m hitting them all trying to get the Google scripts to process my draft. At 90k+ words, it seems it takes longer than Google allows for script execution. And when it does run? The email it generates is too big.