A very long time ago, I wrote a Word macro to help writers detect specific types of words (adverbs, passive voice etc.) in their writing. You can still find that macro here:
https://absolutewrite.com/forums/index.php?threads/helpful-macro.26020/I was talking to somebody on here about it a day or two ago and I realized that my current writing tool, Scrivener, does not really let me do something similar. I looked into it and it turns out that Scrivener does not have any macro or scripting functionality, but the developers are OK with others writing third-party apps which access the Scrivener files and do stuff with the data.
So I thought I might as well work on that this weekend 🙂Thanks to the helpful Scrivener developers, I was able to figure out how to access the Scrivener file and read only the data I wanted fairly quickly.
The issue here was that a Scrivener file can contain many types of textual content besides your manuscript — there can be notes, research, thoughts, quotes, whatever.
You don't want all that text to be analyzed. You only want your manustcript text to be analyzed for particular types of words. That part (getting only the manuscript text) is now functional 🙂
Now I have to figure out how to do the actual word analysis. My original Word macro was pretty basic. I feel that there might be better ways to do this now. So I'm going to look around a bit and see what approach might work better.
If I go back to the original word lists approach, that's pretty simple to implement. But hopefully, I can find something a bit more automated which doesn't involve people typing in lists of words?
#Coding #SideProject #Flutter #Writing #Scrivener #AuthorsA macOS application screen show…A macOS applicatio file showing…