2 Replies Latest reply on Jun 23, 2009 7:59 AM by Dog of War

    Baseline grid options (CS4 - Applescript)

    Dog of War Level 1

      I'm having trouble doing something that should be very simple: script any of the "baseline frame grid options". I'm not getting any errors; it just isn't working (the view preferences changes to points, but that's the only thing that happens).

       

      For example:

      -----------------------------

      tell application "Adobe InDesign CS4"

       

      tell document 1

       

       

      set properties of view preferences to {horizontal measurement units:points, vertical measurement units:points}

       

       

      set starting offset for baseline frame grid of baseline frame grid options to 66

       

      set baseline frame grid relative option of baseline frame grid options to top of page

      end tell

       

      end tell

      -----------------------------

       

      What am I missing? I have successfully scripted other preferences in the past, but I imagine there's something obviously wrong here I'm not seeing.