What is the best way to keep a repository (personal library) of apple scripts which I use with KBM?

What is your objection to files?

After having spent several years trying to find a really good script snippets manager (see What Do You Use for a Code Snippet Tool? (Jul 2015) ), I finally came to the conclusion that using macOS files, folders, and tags was/is the best solution for me.

For ease of access, here is my current system for managing scripts:

Well, it has now been 4 years since I made my OP, and much has changed.

  • I no longer use any of the above tools to manage my code/script snippets
    • I do continue to use Evernote to store and search for documentation of all types
  • My primary tool is storing all scripts as .scpt files, and using Finder Tags
    • Finder Tags provide a very powerful and easy to use Spotlight Search, both normal and search in the Finder.
    • The Finder provides a nice dropdown list of my tags when I save a file, and when I search for a file.
  • I also use Typinator to provide my most commonly used snippets
  • All of my standard functions/handlers are in Script Libraries, easily called from any script
  • I have a KM macro and script that allows me to easily search my Script Libraries, and insert either a call to the handler/function, or insert the full code of it.

For more details, see JMichaelTX Examples of Script System .

1 Like