apply character style from subfolder – Find/change by list with applescript

Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / apply character style from subfolder – Find/change by list with applescript

Viewing 2 reply threads
  • Author
    Posts
    • #69476
      anders hoegh
      Member

      Find/change by list with applescript

      text {find what:”med”} {change to:”med”,applied character style:”peter”} {include footnotes:true, include master pages:true, include hidden layers:true, whole word:false, kanaSensitive:true, witdhSensitive:true} Find med and apply the character style “price”.

      This line works if my characterStyle called “peter” is in the root af the characterStyle palet.

      How can i apply a characterStyle from a subfolder called ex “grippe”?

      [IMG]https://i.imgur.com/Kp9PxGM.png[/IMG]

    • #69477
      anders hoegh
      Member

    • #69481

      My guess: Try applied.characterStyleGroups.”gruppe”.applied.characterStyles.”peter”

      AM

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
>