Re: InDesign CS6: Find out parent page of page item on the pasteboard
Re: InDesign CS6: Find out parent page of page item on the pasteboard
- Subject: Re: InDesign CS6: Find out parent page of page item on the pasteboard
- From: Chris Paveglio <email@hidden>
- Date: Mon, 10 Jun 2013 12:31:04 +0000
- Thread-topic: InDesign CS6: Find out parent page of page item on the pasteboard
I only have CS5 but it's probably the same. Pasteboard items are not bound
to a single page. You could have many pages in a spread that share that same
pasteboard. The pasteboard doesn't have a particular connection to the page,
but it does have a connection to a spread. So get the parent spread of the
pasteboard or pasteboard item. From there you could get a page on the
spread, if it's only 1 page then you're golden. If you have multiple pages
on a spread then you might try to get the coordinates of the pasteboard item
and do some math to make a guess as to it's intended location.
Chris Paveglio
> 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!
_______________________________________________
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