Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
//DESCRIPTION: Select associated anchored objectThe objects in question consisted of a text frame that itself contained as inline objects one or more groups each made up of text frames. There was no way to click on the top-level anchored object without getting one of the contained objects. This was true whether I tried the pointer or text tools.
if (app.documents.length > 0 &&
app.selection.length == 1 &&
app.selection[0].hasOwnProperty("baseline")) {
selectAnchor(app.selection[0]);
}
function selectAnchor(sel) {
try {
app.select(sel.pageItems[0]);
} catch(e) {}
}