• I do it like this:

    function onInit() {
     // Call to an function that kicks off my code
    }  
    save();
    

    My undertstanding is that onInit() fires automatically on startup/reset. I make save() the last line of code. I can't advise if this is the best way, but it does seem to work.

About

Avatar for Ollie @Ollie started