Prompt to/auto-save sketch before running
For boneheads like me that:
- forget to regularly save their work,
- are prone to accidentally running sketches that lock up the application so hard that cancelling won't stop them (to pick a completely random example: by misreading the documentation for an itertools function), and
- don't want to force-quit DB and restart, because they'll lose work
it would be nice to have an auto-save feature that
- prompts you to name/save your sketch before running it for the first time, and
- auto-saves sketches prior to subsequent runs.
DrawBot already saves the last script to the defaults (see)
And restore the script when DrawBot reopens and there is something in stored in in the defaults.
My apologies, I'll have to watch more closely next time—fortunately that probably won't be long in coming—but yesterday I thought I lost about 15min of work after locking up the app with a typo in a permutations() call, and force-quitting after watching the beach ball of death spin for a half-hour. I'll go ahead and close the issue—if I see this again I'll look harder, maybe it's something else going on?
maybe it needs to be saved to disk so the script becomes more accessible: a simple file vs reading a preference .plist