Article View: adobe.scripting.indesign
Article #17187Re: What selected? in C#
From: Dmitri Kukuiski
Date: Mon, 30 Jun 2003 14:25
Date: Mon, 30 Jun 2003 14:25
11 lines
1008 bytes
1008 bytes
I found solution!!! You must just add reference "Microsoft.VisualBasic" and then write in code: string tn; tn = Microsoft.VisualBasic.Information.TypeName(((InDesign.Objects) myDoc.Selection).Item(c)); MessageBox.Show(tn); it's not good code but it work! ;))
Technical Details
Message-ID:
<1de9a5a1.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de9a5a1.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,47746c10502aa200 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-06-30 07:37:52 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-08!supernews.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: What selected? in C# Message-ID: <1de9a5a1.0@WebX.la2eafNXanI> Date: Mon, 30 Jun 2003 07:25:06 -0700 References: <1de9a5a1.-1@WebX.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit