1 Reply Latest reply on Jun 10, 2010 6:56 AM by Kasyan Servetsky

    set bleed top to 2inch--indesign cs4

    Poo_Del Level 1

      Hi All,
      I am using below syntax for exporting PDF with my own preset. I want to change the value of bleed top to 2 inch. Then I want to export the PDF.
      Please suggest how can I do that.

       

       

      Applescript:


      tell application "Adobe InDesign CS4"
      tell PDF export preferences
      set bleed top to "2in"
      end tell
      tell document 1
      export format PDF type to "Macintosh:Test.pdf" using myPresetName without showing options
      end tell
      end tell

      Please let me know where I am doing mistake.

       

      Regards,
      Poo

        • 1. Re: set bleed top to 2inch--indesign cs4
          Kasyan Servetsky Level 5

          If I don't indicate preset name on export this code works for me:

          tell application "Adobe InDesign CS4"
               tell PDF export preferences
                    set bleed top to "2 in"
               end tell
               
               tell document 1
                    export format PDF type to "Macintosh HD:Test.pdf" without showing options
               end tell
          end tell
          

          Probably preset overrides this setting.

           

          Kasyan