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

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account