3 Replies Latest reply on Apr 10, 2008 9:14 PM by tobias.wantzen

    [AS, CS3] Top of Margin Preferences - Bug?

    tobias.wantzen Level 1
      I'm not getting the following code to work:
      tell application "Adobe InDesign CS3"
      
      tell active document
        get top of margin preferences of page 1
      end tell
      end tell

      The only thing I get is this error message:
      >Es wurde Zeilenende erwartet, aber ein Programmkonstante oder consideration wurde gefunden.

      (In English it's something like: A line end was expected, but a »program constant« or »consideration« was found.)

      Left, Right, Bottom - they all do well in the above example, but Top produces the error.
      Can anybody help?

      Thanks
      Tobias