I like to have some Scrivener projects that use a default font of Courier New, and others that use Times New Roman or sometimes Baskerville. As far as I know there is no way at the moment to make the default font adhere to a .scriv file or to a template - you can load and save Preferences within the Preferences dialog but that’s it. And that’s slow.
So for my own use I’ve created two AppleScripts - one to switch between different Preference profiles, and the other to add, update, or delete such profiles. The effect is achieved by switching between different saved plists in ~/Library/Preferences, making whichever one you request the active plist for Scrivener.
The switcher also launches Scrivener upon selecting a profile. Because the plist remembers the last Scrivener file opened, the effect is to associate a profile with a particular .scriv file as well. For me this works nicely. I launch them from FastScripts but the default Scripts menulet would work nicely too.
If you do not have any plists other than the default, the switcher AppleScript will be empty; use the add, delete, or modify script to add a profile other than the default. Also, if you want to update a Preferences profile, it’s best to use the add, delete, or update script for this purpose - otherwise when you use the switcher script to launch Scrivener, it will trash the Preferences changes - that’s because it restores the previously saved profile.
They have been tested reasonably well but as always with this sort of thing, if you want to try them out, use at your own risk.
Preferences_scripts.zip (21.6 KB)