• 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: Andrew Brown <email@hidden>
  • Date: Fri, 5 Dec 2008 03:41:29 +0100

On 4 Dec 2008, at 22:48, Shane Stanley wrote:

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.

The only way I can find the digits and letters is by character style, and that I don't know how to do in AS. I'd be glad to pay a few dollars, or even euros, for a solution to this problem.


AB
_______________________________________________
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: Shane Stanley <email@hidden>
References: 
 >Re: Sequential renumbering in InDesign CS3 (From: Shane Stanley <email@hidden>)

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