Article View: adobe.scripting.indesign
Article #109Place INDD file, select page (CS3)
From: 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
Technical Details
Message-ID:
<59b87ab6.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,fab957f0757829bf,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Tony_Tuneson@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Place INDD file, select page (CS3) Message-ID: <59b87ab6.-1@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 03:36:23 -0700 Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit