Javascript command: "select content"
Hi. I have start to learn write Javascript for InDesign.
And now I have problem.
I have rectangle named "logo" at 2nd page, inside this rectangle is group of objects, I want to remove this rectangle, but leave group at same place. In InDesign, I am use to click at rectangle with black arrow, then click icon "select content", Command+X, Command+Alt+Shift+V.
I tried to write it to script, but it doesn't work. What is wrong?
app.select(app.activeDocument.pages.item(1).rectangles.itemByName ('logo').allGraphics);
app.copy()
app.pasteInPlace();
Thx for your help. 🙂
