3 Replies Latest reply on Jul 11, 2017 12:51 AM by leenh61786917

    Getting (certain) character properties

    leenh61786917

      Hi all,

      Searched in the dom and online and still can't figure it out while I would assume it isn't all too difficult.

       

      I have a characterstyle which has options for a strikethrough.
      It (the strikethrough in the tab called something like 'options for strikethroughs') has as options a red color and a certain thickness.
      I would like to read those values out but I don't seem to be able to.

       

      With something like the following I can read out certain properties:

      character = app.activeDocument.characterStyles[1]; 

      alert (character.name); 

      alert (character.fillColor); 

       

      But I just can't find how to acces the tab for the strikethrough and/or the thickness and color of it.

       

      Can someone please help,

       

      Many thanks