Skip to main content
Inspiring
Jun 19, 2023 2:23 PM UTC
Question

Delete a Bullet Character from a Paragraph style

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Community Expert
Jun 20, 2023 2:38 AM UTC

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

 

Translate
-Manan
Inspiring
Jun 20, 2023 7:57 AM UTC

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

Translate
Eric Dumas
Community Expert
Community Expert
Jun 19, 2023 3:05 PM UTC

Hi,

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

Translate
Inspiring
Jun 19, 2023 3:57 PM UTC

Yes sorry something like the png file

Translate