-
Image path problem in After Effects script.
Hello,
I have the following problem. When I run my script from File>Scripts>MyScript it works, but when I open it from Windows>MyScript as a dockable panel it says that the image doesn’t exist.
What I want is to tell After Effects to look in “[after effects folder]/Scripts/aCustomFolder/icon.png”
What am I doing wrong?
var myButton= mainGroup.add("iconbutton", undefined, image="./Scripts/(ImageAssets)/MyButton.png");