• 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 CS6: Find out parent page of page item on the paste board
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InDesign CS6: Find out parent page of page item on the paste board


  • Subject: InDesign CS6: Find out parent page of page item on the paste board
  • From: Bert Groeneveld <email@hidden>
  • Date: Sun, 09 Jun 2013 16:25:36 +0200

InDesign CS6

Losing to much time on this, so hope someone can help:
I need to know the parent page of a page item. This seems to work only if the page item is in fact on a page (and not beside it on the paste board).
Q: How can I figure out the page to which the paste board belongs on which my page item is placed? For example my page item is located on the paste board of page 32. I need an applescript statement that returns 32. Hope someone can help with example code. Thanks in advance!

Bert.

-----------

tell application "Adobe InDesign CS6"
tell document 1
set mySelection to selection
set mySelection to item 1 of mySelection
set myPage to parent page of mySelection
end tell
end tell

display dialog "Parent page is: " & name of myPage
 _______________________________________________
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

  • Prev by Date: Re: automator and Applescript
  • Next by Date: Re: InDesign CS6: Find out parent page of page item on the paste
  • Previous by thread: Re: Are folder actions in 10.8 completely broken?
  • Next by thread: Re: InDesign CS6: Find out parent page of page item on the paste
  • Index(es):
    • Date
    • Thread