Article View: adobe.scripting.indesign
Article #18689Re: VB: Get the value of the Label from a selected TextFrame
From: Olav Kvern
Date: Mon, 03 Mar 2003 08:58
Date: Mon, 03 Mar 2003 08:58
19 lines
1420 bytes
1420 bytes
Dennis-- While Ben's provided a good answer, bear in mind that the Label can contain up to 32K worth of text--far more than can be displayed by the Script Label palette. I also recall that the palette stops displaying text after the first carriage return in the Label. If you need to view more text than the Script Label palette can display, or to display text containing carriage returns, why not create a text field on your form, set its Multiline property to true, set the Scroll Bars property of the field to Vertical, and then assign the label to the field with something like: Rem Given a text frame "myTextFrame" Text1.Text = myTextFrame.Label Thanks, Ole
Technical Details
Message-ID:
<1de811da.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de811da.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2d2312c5afbdac7f X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-03-03 01:08:20 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB: Get the value of the Label from a selected TextFrame Message-ID: <1de811da.2@WebX.la2eafNXanI> Date: Mon, 3 Mar 2003 00:58:31 -0800 References: <1de811da.-1@WebX.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit