Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by Tony_Tuneson
Thu, 02 Apr 2009 10:36
Place INDD file, select page (CS3)
Author: Tony_Tuneson
Date: Thu, 02 Apr 2009 10:36
Date: Thu, 02 Apr 2009 10:36
9 lines
1213 bytes
1213 bytes
Can anyone please help with placing e.g. page 2 of an INDD file (preferrably in VB)? The imported file defaults to page 1; how can I tell to place page 2, or change the pagenumber after placing? It would be nice to control the layers as well, but I hope I can figure that out myself once I can access the object. I now place the INDD-file in a Rectangle. Is that maybe the problem for the error below? I'm completely stuck. Did I miss a reference or tutorial on this? Dim myImportedPage As indesign.ImportedPage If Typename(myRect.AllGraphics.Item(1)) = "ImportedPage" then Set myImportedPage = myRect.AllGraphics.Item(1) 'Error: Type Mismatch end if
Re: Place INDD file, select page (CS3)
Author: Tony_Tuneson
Date: Thu, 02 Apr 2009 14:57
Date: Thu, 02 Apr 2009 14:57
5 lines
865 bytes
865 bytes
In addition: if I, prior to placing the INDD doc, say: myIndesign.ImportedPageAttributes.PageNumber = 2 then I get a Type Mismatch as well; I tried an Integer, Long and Variant. Please help?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads