🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9382

Re: Type of the selected object

#9382
From: Robert Tkaczyk
Date: Tue, 22 Aug 2006 20:36
16 lines
1116 bytes
> Dim myIndesign As InDesign.Application
> myIndesign = CreateObject("InDesign.Application.CS2")
> myIndesign.Selection.Item(1)
> 
> Is a Type of (Rectangle, Oval ..) or a Guide line.

in VB6 - TypeName(myObject)

select case TypeName(myObject
     case "Rectangle":
     case "TextFrame":
     case "Oval":
     , ...
end select

robin
Technical Details
Message-ID: <F518B9B7BFE92F34E96727FD74C4BAF5@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc159bc.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,568e11576a8b7c9e
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: Type of the selected object
Message-ID: <F518B9B7BFE92F34E96727FD74C4BAF5@in.webcrossing.la2eafNXanI>
Date: Tue, 22 Aug 2006 13:36:40 -0700
References: <3bc159bc.-1@webcrossing.la2eafNXanI>
Lines: 16
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
X-Antivirus: avast! (VPS 0634-0, 2006-08-21), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing