1 Reply Latest reply on Sep 22, 2014 11:11 AM by Jump_Over

    Basic Layout

    Math Kay Level 1

      Hi,

       

      While running this script, slug is not adding in document. I could not figure out what the error with script is. Please resolve it.

       

       

      var doc=app.documents.add();
      with(doc.documentPreferences){
      pageHeight = "8i";
      pageWidth = "10i";
      pageOrientation = PageOrientation.portrait;
      pagesPerDocument = 16;
      documentBleedUniformSize = true;
      documentBleedTopOffset = "1p";
      documentSlugUniformSize = true;
      documentSlugTopOffset = "2p";
      }