Find BulletChar Font


hi forum,

 

how find buletcharacter font name.

 

the below script, find font name of text wherever bullet styles applied. (eg.)

 

fjldfjdf

dklfjdlfjd

 

 

app.findgreppreferences.bulletsandnumberinglisttype = listtype.bulletlist;

//app.findgreppreferences.appliedfont = "arial";

myfound = app.findgrep();

for (i=0 ; i<myfound.length; i++) {

alert (myfound[i].appliedfont.name)

}

 

 

my intention find font name of bullet added (using paragraph----bullet , numbering---add (button)--add bullets----selecting font family...in dropdownlist).

please check screenshot attached.

 

screen shot 2013-07-15 @ 11.55.36.png

 

thanks forum.

also tried using this.

 

 

app.findgreppreferences.bulletsandnumberinglisttype = listtype.bulletlist;

myfound = app.findgrep();

for (i=0 ; i<myfound.length; i++) {

alert (myfound[i].bulletchar.bulletsfont)

}

 

now alert is:

 

screen shot 2013-07-15 @ 12.45.08.png  screenshot "the paragraphs has usual bullet , numbering style.

screen shot 2013-07-15 @ 12.45.13.pngthis screenshot "bullet has been added manually using font zapf dingbats font".

 

the script finds bulletchart.bulletfont , declare auto_value normal bullets , [object font] bullets added using zapf dingbats fonts.

 

how i, font name "zapf dingbats" alert instead of [object font].



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?