1 Reply Latest reply on Oct 26, 2013 9:11 AM by try67

    Saving files to their subfolders

    Jack Butler

      How can I do that for photoshop with javascript?


      var savePath = new File( parentFolder.parent + '/' + name);

      alert(savePath, 'Parent Folder Location', false);

      newDoc.saveAs(savePath, saveOptions, false, Extension.LOWERCASE);


      I can get to parent folder alert like this but it saves to the folder, not parent folder.