Re: Three InDesign scripting questions
Re: Three InDesign scripting questions
- Subject: Re: Three InDesign scripting questions
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 1 Mar 2006 11:53:12 -0800
>me> Can a script identify which page a page item is on?
>>Shane>>The parent of a page item will be either a spread (if the item is fully outside the page boundaries), a page (the page it's "mostly" on), a group, or a character (for inlines). So you basically need to get the class of the> parent; if it's a page, get the name; if it's a spread, it's not on a page; if it's a group, do the same with its parent; and if it's a character, get item 1 of the parent text frames of the parent, and do the same with it's parent.
Thanks Shane that's helpful, but here's the thing. We're archiving articles that are InDesign documents. An article includes the text of the story, all graphics and photos and all captions, headlines and bylines. We also need a list of each and every page all these parts of the article falls on.
Here are a few issues: Pages often include pictures and text from multiple articles and ads which aren't part of any article; often parts of the picture boxes (including the top, left corners) are outside the page area; the articles usually jump from page to page to page; in some cases an single text frame or picture box may span a two-page spread.
In Quark I did this with a script that worked flawlessly.
Until we sort this out we have someone physically flipping through pages of the magazine, and typing page numbers into a dialog. Yuk!
>>>>Fiddly, but not as bad as it sounds.
Don't mind fiddly, just want it to work!
ES
_______________________________________________
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