InDesign CS6: Find out parent page of page item on the paste board
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