Reply To: GREP search to increment numbers?

Home Page / Forums / General InDesign Topics (CLOSED) / GREP search to increment numbers? / Reply To: GREP search to increment numbers?

#51191

Hey, Hank, I did not notice that 'in a certain character style'! ('dans une certaine condition', perhaps)

Add this line somewhere after the findWhat line:

  app.findGrepPreferences.appliedCharacterStyle = “YourCharacterStyleNameHere“;

to search for just those numbers. The rest of the script is, unlikely as it may sound, totally unaffected by this change — it merely now finds, and optionally changes, numbers that have the style applied.

This article was last modified on December 11, 2009

Comments (0)

Loading comments...