Scripting System or API

I would love to see some sort of scripting system or API to help control and automate designs. This level of control would be particularly useful if integrated with a History / Timeline view, both for copying actions and for exporting Timelines. Ultimately, what I’d like to be able to do is script Vectornator’s design and document changes from creating new document, editing, to exporting in desired format. Think something like Adobe’s ActionScript, but maybe in a more generic Javascript with Vectornator objects.