Article View: adobe.scripting.indesign
Article #17110Re: C# and InDesign : launching the InDesign Application
From: Dmitri Kukuiski
Date: Sun, 06 Jul 2003 12:31
Date: Sun, 06 Jul 2003 12:31
6 lines
1033 bytes
1033 bytes
InDesign.Application myInDesign;
Type InDesignType = Type.GetTypeFromProgID("InDesign.Application.2.0");
myInDesign = (InDesign.Application) Activator.CreateInstance(InDesignType);
// Now you can get access to active document
InDesign.Document myDoc = (InDesign.Document) myInDesign.ActiveDocument;
Technical Details
Message-ID:
<1de9cde4.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9cde4.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,6caf31c988173775 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-06 05:37:29 PST From: "Dmitri Kukuiski" <member@adobeforums.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: C# and InDesign : launching the InDesign Application Message-ID: <1de9cde4.0@WebX.la2eafNXanI> Date: Sun, 6 Jul 2003 05:31:31 -0700 References: <1de9cde4.-1@WebX.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit