Skip to main content
Inspiring
July 14, 2023
Answered

Can the List of Bullets in a Paragraph Style be accessed using Javascript

  • July 14, 2023
  • 2 replies
  • 581 views

I keep getting asked if I can check all the fonts in a document and find and list any that aren't being used but exist in the document anyway. One area is the Bullets and Numbering section of the Paragraph style where bullet characters can be created that remember their fonts. This must create a list that is stored with the document. The bulletChar gives access to the bullet that is selected in the style but I can't find anyway of accessing the list of bullet characters. A friend viewed a file as an xml document and the bullets do show up with a tag of <ABullet>. I was woundering if anyone could help or if it's not possible could you explain what that list is doing?

This topic has been closed for replies.
Correct answer Peter Kahrel

It looks as if a script sees only the selected bullet, you don't have access to any of the other bullet characters in the Bullet Character panel.

2 replies

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
July 14, 2023

It looks as if a script sees only the selected bullet, you don't have access to any of the other bullet characters in the Bullet Character panel.

Inspiring
July 14, 2023

Thank you for your help

Robert at ID-Tasker
Legend
July 14, 2023

Just found on my phone - so can't verify:

 

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Bullet.html 

 

Inspiring
July 14, 2023

Thank you for your response but I'm still only finding the bullet that is selected from that list not the list itself