1 2 Previous Next 42 Replies Latest reply on Jul 2, 2018 3:56 PM by thomasw1059497

    Setting the bleed in AI via Javascript

    matts45635225

      Hi All,

       

      I'm writing a function to change the artboard size and add bleed depending on certain conditions.

      I can't actually believe this is causing me trouble but here it is, I'm trying to set the bleed dimensions in AI document with Javascript. All I've found so far is setting up PDF export options or print options, but not the actual artboard Document Setup. I just want to be able to set bleed to a newly created document like in this window:

      So similar to Indesign:

       

      with(myDocument.documentPreferences){
        documentBleedUniformSize = true;
        documentBleedTopOffset = 7;
        }
      

       

      (CC2017)

      Screenshot 2017-04-06 15.45.28.png

        1 2 Previous Next