Custom Templates in Scripting


In Scripting window one can insert a code template.
What about the possibility to define a custom code which can be used as a code template.
For example (special case in my usage of Ableton Live)
the on Activate event which sends some special OSC messages.


I use a Snippets app for this kind of thing, e.g.

I’m not sure it’s worth spending much time turning the Script Editor into a fully fledged IDE.


I have a folder with txt files which contain my snippets.

Of course it would be more convenient to have that in the Script Editor. There are things that I need more urgent like including different script files or creating custom “libraries” to be able to reuse frequently needed functionalities (like my chord hold stuff or sending SysEx messages to certain synths etc.)