1 Reply Latest reply on Mar 30, 2008 3:18 PM by (Peter_Davey)

    How to create/add a bullet?


      we want to change a paragraph styles list attributes. This works fine except the ParagraphStyle.BulletChar which needs an Indesign.Bullet object. We did not find the container. So our question: where can we find the bullets you can choose in the bullets and numbering options of a paragraph style?
        • 1. Re: How to create/add a bullet?
          Do a find and replace in the javascript:
          Find "~" replace with bullet,

          //Clear the find/change preferences.
          app.findTextPreferences = NothingEnum.nothing;
          app.changeTextPreferences = NothingEnum.nothing;
          //Set the find options.
          app.findChangeTextOptions.caseSensitive = false;
          app.findChangeTextOptions.includeFootnotes = false;
          app.findChangeTextOptions.includeHiddenLayers = false;
          app.findChangeTextOptions.includeLockedLayersForFind = false;
          app.findChangeTextOptions.includeLockedStoriesForFind = false;
          app.findChangeTextOptions.includeMasterPages = false;
          app.findChangeTextOptions.wholeWord = false;
          //Search the document for the string "copy" and change it to "text".
          app.findTextPreferences.findWhat = "~";
          app.changeTextPreferences.changeTo = "^8^t";
          //Clear the find/change preferences after the search.
          app.findTextPreferences = NothingEnum.nothing;
          app.changeTextPreferences = NothingEnum.nothing;