How to create Exception
hi !
how i'm can create exception &
...... try{ ..... folderadd(newname); } catch(e) { showerror(e); } function folderadd(newname){ myfolder = new folder(newname); if (!myfolder.exists) myfolder.create(); else{ !!!! in place i'm whant create exception !!!!! } }
not sure trying do. force error @ line there chance never run. want exception if folder exists? or want execption if script unable create folder?
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment