1 person found this helpful
Let me clarify...
1. I have a multi page document open (blank pages)
2. I open a source (single page document) and select/copy what I need from it.
3. I CLOSE the single page document, leaving only the multi-page document open
4. This is where I need to do a Paste In Place to Page XX of the multi-page document and then Move the item if needed.
I don't see how object.duplicate would work across multiple documents and don't want to have a "scratch page" to paste into, then do the move.
Is there a way to paste-in-place the contents of the clipboard to page xx in the multi-page document?
Then, how do I tell indesign to SHOW that 2 page layout to visually inspect the operation?
(I know I'm making sound harder than it should be.. lol)
I don't see how object.duplicate would work across multiple documents
Did you try?
.. Then, how do I tell indesign to SHOW that 2 page layout to visually inspect the operation?
A LayoutWindow is your view on the document (and yes, you can have more than one window for one document). Use
app.activeDocument.activeWindow.activePage = .. a page object reference ...
to set it. To view a "2 page layout" -- which is a Spread --, use
app.activeDocument.activeWindow.activeSpread = .. a spread object reference ...
[Add] -- it may also be useful to set one of
app.activeDocument.zoom = ZoomOptions.FIT_PAGE;
app.activeDocument.zoom = ZoomOptions.FIT_SPREAD;
so you can see everything at a single glance.