Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

InDesign Script for finding bulleted text

Return to Member Forum

  • Author
    Posts
    • #60931
      jwdes
      Member

      Can any smart scripter out there help me. Am having to work in InDesign CS4 on this.

      Using the Adobe Find/Change script, need to know what to put in the text file in order to find bulleted text. Have looked at the ExtendScript Toolkit but dont find it at all user friendly. I need to end up with something like “text {ListType.BULLET_LIST} {appliedParagraphStyle: …}. I want the script to be find text that is already bulleted so that I can apply a Paragraph Style to it. 'ListType.BULLET_LIST' is obviously wrong, cos the script wont work. With thanks, jwdes.

    • #60953

      Here is an example:

      text tab {findWhat:””, bulletsAndNumberingListType:ListType.BULLET_LIST}tab {changeTo:””, appliedParagraphStyle:”Paragraph Style 1″}tab … and so on…

      Tested in CS5.5 for Windows.

    • #60955
      jwdes
      Member

      Kasyan, thank you so much, you are a star! That works fine in Mac CS4 too.

      May I ask how you gained your knowledge of scripting? Is there a good manual that you use? As I said in my original question, the Toolkit is not easy to follow. Thank you again, jwdes

    • #60958

      Here I posted some links that might be useful for baby-scripters. I started scripting in 2004. Before I had nothing to do to programming. I tried all the three scripting languages: Visual Basic, Apple Script and JavaScript. In my opinion, the best choice is JavaScript — it's cross-platform, and you can find more support on scripting forums because it's the most popular. Though knowing other languages helps me a lot too.

      In conclusion, I want to say an important thing: absolutely everybody can write scripts — just invest some time and effort into learning and you'll get your investment back hundredfold.

      Regards,
      Kasyan

    • #60961
      jwdes
      Member

      Thank you again Kasyan. I can't see the links that you mention.

      jwdes

    • #60966
    • #60967
      jwdes
      Member

      Excellent. Thank you again Kasyan.

Viewing 6 reply threads
  • You must be logged in to reply to this topic.
Forum Ads