Target current or last active Aseprite process with cli command

Hi @Ben_Peterson, you can use os.execute() to run an external command (you will be asked to give permission to do so if the UI is available):

image

In case you need to pass some argument to the script via CLI, you can use -script and -script-param ( Aseprite - Docs - Cli ), probably you can use a .lua script directly instead of a .bat.

2 Likes