Hello,
I created my art in illustrator and as you said I exported it into psd file to be able to use your script. But the script in photoshop tries to save each layer into psd format instead of png format, it keeps asking the location of saving for each layer.
I tested the script for a different psd file that I created from the scratch in the photoshop, it did work.
It seems your script does not work for output psd from illustrator, at least not for my file.
What is the solution here?
Thanks.