2 Replies Latest reply on Jun 30, 2015 10:35 PM by Senthilvel S

    How to Get all Fonts in Paragraph?

    Senthilvel S

      Hi All,

       

      In Indesign Javascript How to get all fonts list in particular paragraph (Without looping through each character).  For example, I used "Minion Pro" for First character and all other characters are "Zapf Dingbats" font. I use below code to get paragraph font. But it shows only first character font. If more than one fonts are used for particular paragraph then I need all fonts list or "undefined" result.

       

                var myPara=app.selection[0].paragraphs[0];

                alert(myPara.appliedFont.fontFamily);

       

      Thanks & Regards,

      Senthilvel S