Copy link to clipboard
Copied
Hello,
Since updating InDesign, I now get 3 frame boxes around an image whereas I use to get only 2 – It’s really annoying and I can’t turn it off.
Anyone know what’s causing this and how to turn it off, please? I want to go back 2 frames.
Many thanks.
This should do the same:
var sel=app.activeDocument.selection[0];
var itms = sel.allPageItems;
if (itms.length ==2) {
app.select(itms[0]);
app.copy();
sel.remove();
app.pasteInPlace();
}else{
alert("Please Select The Outside Frame");
}
Copy link to clipboard
Copied
I wish it was to as (and i've never said this before) unfortunately i'm Windows
Thanks for posting that, big help
Copy link to clipboard
Copied
Beautiful. It works instantly! I was wondering if line 4 is spelled itms or items?
Thanks for building this for the OP, Rob!
Copy link to clipboard
Copied
https://forums.adobe.com/people/Michael+Witherell wrote
… I was wondering if line 4 is spelled itms or items?…
Hi Michael,
it's itms, because itms is a variable name Rob set in line 2.
Regards,
Uwe
Copy link to clipboard
Copied
Thanks for that, Uwe. Just goes to show my depth is enough to get me in trouble!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now