🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19121

Re: Select text block in VB

#19121
From: Dave Saunders
Date: Mon, 20 Jan 2003 14:54
11 lines
1359 bytes
I'm an AppleScripter, so I don't know your syntax, but if you want to set the contents of a frame, you don't need to select it, just grab the user's input and then set the contents.

From the way you described the problem, I was assuming that your script would be terminating with a selection so the user would be just typing straight into the document.

Again, I doubt that AppleScript will help you, but to select the complete text of MyFrame, I'd say:

select character 1 through -1 of myFrame

where myFrame is a reference to the text frame in question.

Dave
Technical Details
Message-ID: <1de7681a.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de7681a.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,148624ca6847d0bb
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-20 07:07:48 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Select text block in VB
Message-ID: <1de7681a.1@WebX.la2eafNXanI>
Date: Mon, 20 Jan 2003 06:54:48 -0800
References: <1de7681a.-1@WebX.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit