Not screenplay scripting, Python or Perl or various Apple tools. One of the things I appreciate about L&L is how open they are about things like the XML used for projects. It’s simple enough to figure out, but I found L&L very open about details, too.
My latest fun-and-games with Python has been for outlining.
I outline in Omnioutliner. Why? It works, I can export to OPML, and Scrivener will import OPML.
Basically, once my outline is finished, I add top-level topics to match what I’d like to see in the binder, and drag existing topics under the new top-level headings.
Then I export to OPML where a short Python script reads the OPML from Omnioutliner and flattens it so the top-level topics are the only topics retained. All the sub-topics and their notes become just a single level of notes in the top-level topics, the ones I decided needed to be in the binder.
That OPML file is imported into Scrivener, with the option to put outline notes into the synopsis cards. A clean binder from an outline with many levels.
In Scrivener, outline mode in the left edit window showing the binder title and the synopsis, locked to the document in the right window, and I’m off and writing. The documents are all blank and ready, my outline is in the left window with my game plan, and the binder isn’t cluttered up with all my parenthetical subtopics.
Anybody else mess with automation like this? Scrivener’s project.scrivx file is really simple. If you can code a little Python, Java, Perl, whatever, you can even build your own. I once wrote a sync script that peeled out all the documents in a Scrivener project and copied them as individual RTF files named by sequence number and binder entry to a usb stick. Then I could edit them on my Android. My little sync gizmo would then read back the RTF files, including new ones and taking note of deleted files, and build a new project.scrivx. Better to use the IOS version of Scrivener, of course, but that was in the old days and it filled a need at the time.