Save and load session | v0.01

hi! :]
session file doesn’t have extension and it’s meant to be in the same directory as other aseprite scripts.
you can name your script anything you want, but it has to be .lua file.
as long as it is in the aseprite directory it will show in the scripts menu under that file name. you can also attach shortcuts to scripts.

there are couple of reasons i prefer scripts. at least for me extensions are way too many extra steps for just a little bit of integration in gui. and more importantly, they are supposed to be polished, final products.
i’m not a programmer either and my scripts aren’t that - they are guaranteed to break if you don’t use them as you’re supposed to. :]] for instance: if the script needs a sprite to run, i’m almost certainly not checking whether any sprites are open. like here: List of active sprites
meanwhile proper developer would do all they can to save users from themselves.

but since it’s just a code, anyone can look into it and make any changes they wish. which might be a third reason: scripts are more inviting to start playing with code than extensions. there is no magic, no hidden tricks - it’s just a plain text and you can change it.

1 Like