• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sequential renumbering in InDesign CS3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sequential renumbering in InDesign CS3


  • Subject: Re: Sequential renumbering in InDesign CS3
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 05 Dec 2008 08:48:32 +1100
  • Thread-topic: Sequential renumbering in InDesign CS3

On 4/12/08 11:59 PM, "Andrew Brown" <email@hidden> wrote:

> I'm looking for a solution to renumber strings in InDesign stories.
> Each string has the same character style (and no other strings have
> it) and typically consists of 1, 2 or 3 digit numbers, sometimes with
> a letter. I want to find the first string, replace it by 1, find the
> next, replace it by the last figure plus 1, and so on through to the
> end of the story.

You first need to write a GREP search to find the digits and letters. When
you run that from a script as a find, it will return references to all of
them, which you can loop through (from last to first) setting their contents
to the appropriate number.

--
Shane Stanley <email@hidden>
AppleScript Pro Florida, April 2009 <http://scriptingmatters.com/aspro>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sequential renumbering in InDesign CS3
      • From: Andrew Brown <email@hidden>
References: 
 >Sequential renumbering in InDesign CS3 (From: Andrew Brown <email@hidden>)

  • Prev by Date: Re: Getting time Stamp from Applescript
  • Next by Date: Re: Getting time Stamp from Applescript
  • Previous by thread: Sequential renumbering in InDesign CS3
  • Next by thread: Re: Sequential renumbering in InDesign CS3
  • Index(es):
    • Date
    • Thread