I was messing around with geektool (http://projects.tynsoe.org/en/geektool/) this evening and thought that what would be nifty for nanowrimo this year would be to have an updating word count on my desktop, which chapter/section titles, word count, total word count and words remaining.
My plan was either a bash or a python script to grab the info from my scrivener project and having poked around inside .scriv package before, I thought this wouldn’t be too difficult. I can pull the section counts out of the BinderStrings.xml file, or go through the .rtfd files, but I couldn’t figure out how to get the chapter titles.
I guess they are contained within binder.scrivproj, which looks like a serialized data structure?
So, KB, I was curious to know if this was feasible? Is the .scrivproj in a format that could be externally accessible?
In not, I can still generate a count-per-section, but I’d sure like to have the section names in there