🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15383

Re: Selecting text (hi-lighting)

#15383
From: dean_kroon
Date: Mon, 01 Dec 2003 20:13
12 lines
1045 bytes
I have tried using "itemByRange" from both VB6 and VB.NET... with the same result:

my code:
myInDesign.Selection(1).ParentTextFrame.ParentStory.Characters.ItemByRange(10, 15).Select

the effect:
"Object doesn't support this property or method"

The adobe InDesign scripting guide also does not show a method by that name. What am I doing missing? (NOTE: I am scripting againsed InDesign 2.0)

Thanks,
    Dean.
Technical Details
Message-ID: <2cceab3c.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2cceab3c.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,6ee22d6a26c254cc
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-01 12:37:58 PST
From: dean_kroon@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Selecting text (hi-lighting)
Message-ID: <2cceab3c.1@webx.la2eafNXanI>
Date: Mon, 1 Dec 2003 12:13:33 -0800
References: <2cceab3c.-1@webx.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit