Part- 2 Illustrator Scripting Creating folder using Javascript

Below is the code that will create a folder using javascript in illustrator script. Suppose there is dir variable selected by user. (as shown here) For MAC OS path= dir.fsName;new Folder(path+”/White”).create(); For WINDOWS OS path= dir.fsName;new Folder(path+”\\White”).create(); For different operating system in full path above is the code to create folder correctly. see the difference … Continue reading Part- 2 Illustrator Scripting Creating folder using Javascript