• 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
INDESIGN - Reference to all boxes in document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

INDESIGN - Reference to all boxes in document


  • Subject: INDESIGN - Reference to all boxes in document
  • From: Dave Walsh <email@hidden>
  • Date: Mon, 05 Dec 2005 12:41:50 -0700
  • Priority: normal

I am trying to name all the boxes on each page of sequentially.

For instance 2 pages 28 boxes on each.
Number sequence
1 (top left page 1)
56 (bottom right page 2).

I guess I am at a loss on how to reference all the boxes in the
document
and number them as stated above.

The following script will number 1 to 28 on each page

on revbox(theboxes)
set theboxes to reverse of theboxes
return theboxes
end revbox
tell application "InDesign CS"
tell document 1
repeat with i from 1 to count of pages
tell page i
set theboxes to (every item of all page items where class of it =
rectangle and label is "EPS")
set theboxes to revbox(theboxes) of me
repeat with i from 1 to count of theboxes
set label of item i of theboxes to "EPS" & "-" & i as string
end repeat
end tell
end repeat
end tell
end tell

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: INDESIGN - Reference to all boxes in document
      • From: "email@hidden" <email@hidden>
  • Prev by Date: Re: Copy text to the clipboard
  • Next by Date: Re: Copy text to the clipboard
  • Previous by thread: Re: Acrobat Printing via AS not same as Command P
  • Next by thread: Re: INDESIGN - Reference to all boxes in document
  • Index(es):
    • Date
    • Thread