Wasn't sure your level of ExtendScript and JavaScript experience. Sorry I didn't make it simpler. First, to answer your question about gb1 and 2... those are 'Geometric Bounds' (made short, just 'gb'). This is a common property used many places in Adobe apps. The property is a 4 element array. It gets a little confusing because not all the apps the array indexes are the same meaning (still trips me up as I code one app then another). But for InDesign anyway, the bounds array is [top, left, bottom, right]. And InDesign (unlike Illustrator) coordinates are from top left, going down to right. So having the bounds of something (a rectangle, image frame, text frame, etc.) this is saying where it's located on the page. This actually sounds like a good idea for a new script, so I'll likely take my Label Graphic Links script, or possibly another one "Image Names" (also open source... http://www.marspremedia.com/software/indesign/image-names) and modify one or the other to achive the result you describe. Trouble is, I can't get to it for a least a week with the current load of custom scripts at the moment. About a tutorial, I also have that on YouTube. Start here: https://youtu.be/XjmWX_qfLSU I'll say more in the response to your next post.
... View more