0 Replies Latest reply on Aug 12, 2014 3:18 AM by JamieOoms

    Retrieve paragraph direction from ME edition of Illustrator using javascript

    JamieOoms

      Hi,

       

      I have the ME edition of Illustrator CC installed.

      When i open an Arabic illustrator document i can see the 'Left-to-right Paragraph Direction' and 'Right-to-left Paragraph Direction' button.

      Also the Middle Eastern Single-line composer and Middle Eastern Every-line composer are active.

       

      I would like to read these properties from the script but i cannot find any properties of the ParagraphAttributes class that contain this information.

      Does anyone know were to find this?

       

      I would expect something like this:

       

      var story = app.activeDocument.stories[0];

      story.textRange.paragraphAttributes.direction