I hava the command: @set ASEPRITE=“C:\Program Files (x86)\Steam\steamapps\common\Aseprite\aseprite.exe”
%ASEPRITE% -b template.ase --save-as gifs/{tag}.gif
Where {layer}/{tag} are folders where I want to output my files. The folders doesn’t exist though. And I don’t want to create a folder for each tag I have by hand. Is there a way to automate this?
You could use --list-layers and --list-tags to get the list of tags and layers, and then create the directories. This is for bash-like shells:
layers=$(aseprite -b --all-layers --list-layers sprite.ase)
tags=$(aseprite -b --list-tags sprite.ase)
for layer in $layers ; do
mkdir $layer
for tag in $tags ; do
mkdir $layer/$tag
done
done