Hey There!
Im trying to getting familiar with photoshop script UI but i have some issues:
I guess it is pretty simple but i did not have any example so i have got no idea!
My goal is to use an image or icon in a window, during script.
So here is this code:
var dlg = new Window('dialog', 'Alert Box Builder',[100,100,480,245]); dlg.btnPnl = dlg.add('panel', [15,50,365,115], ''); dlg.btnPnl.cancelBtn = dlg.btnPnl.add('button', [235,15,335,45], 'Cancel', {name:'cancel'}); dlg.show();
Just a window with a Cancel button.
I want to add icon and/or image to this window.
Any help would be appreciated!
ps: I looked the http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/JavaSc riptReferenceGuide.pdf but i guess this part is missing the examples.