28 Replies Latest reply on Mar 23, 2018 4:20 PM by Ten A

    Setting the bleed in AI via Javascript

    matts45635225 Level 1

      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:


        documentBleedUniformSize = true;
        documentBleedTopOffset = 7;



      Screenshot 2017-04-06 15.45.28.png