Article View: adobe.scripting.indesign
Article #9368Type of the selected object
From: Ervin_Gegprifti
Date: Tue, 22 Aug 2006 15:02
Date: Tue, 22 Aug 2006 15:02
15 lines
1104 bytes
1104 bytes
I'm new in programing and I'm having a problem to solve, like this:
I'm writing a code for InDesign CS2 in Visual Basic 2005 Expres Edition.
I want to know if a selected object:
Dim myIndesign As InDesign.Application
myIndesign = CreateObject("InDesign.Application.CS2")
myIndesign.Selection.Item(1)
Is a Type of (Rectangle, Oval ..) or a Guide line.
If any one know haw to do that pls help.
Thank you!
Technical Details
Message-ID:
<3bc159bc.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,568e11576a8b7c9e,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Ervin_Gegprifti@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Type of the selected object Message-ID: <3bc159bc.-1@webcrossing.la2eafNXanI> Date: Tue, 22 Aug 2006 08:02:20 -0700 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing