Skip to main content
Inspiring
June 19, 2023
Question

Delete a Bullet Character from a Paragraph style

  • June 19, 2023
  • 2 replies
  • 477 views

Hi

I was wondering if it was possible to delete a Bullet Character from the Bullets and Numbering section of the paragraph styles window using javascript. It has add and delete buttons so I was thinking it must be possible. Also is there some array where those bullets can be referenced?

This topic has been closed for replies.

2 replies

Community Expert
June 20, 2023

I don't see that being possible via the scripting SDK. It seems we can only set the bullet but can't delete from the list. If you use something like the following, the bullet char should be added to the list

app.documents[0].paragraphStyles.itemByName("MyPS").bulletChar.characterValue = xxx(Unicode/GlyphID of bullet)

-Manan

 

-Manan
Inspiring
June 20, 2023

I had a feeling you were going to say that. Thank you for looking into it

Eric Dumas
Community Expert
Community Expert
June 19, 2023

Hi,

can you show a screenshot of the result you want to achieve?

Inspiring
June 19, 2023

Yes sorry something like the png file