Quantcast
Viewing all articles
Browse latest Browse all 114192

Re: Find BulletChar Font

Hi,

 

myDoc = app.activeDocument;
fontToSearch = "Zapf Dingbats";     // watch a typo errors
app.findTextPreferences = null;
app.findTextPreferences.bulletsAndNumberingListType = ListType.BULLET_LIST;
mFound = myDoc.findText(true);
l = mFound.length;while (l--) {          d = mFound[l].paragraphs.length;          while (d--) {                    currFont = mFound[l].paragraphs[d].bulletChar.bulletsFont;                    if (currFont.fullName == fontToSearch) {                              mFound[l].paragraphs[d].lines[0].showText();                              alert ("Check this bullet font");                              }                    }          }

 

Jarek


Viewing all articles
Browse latest Browse all 114192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>