🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18642

VB: Get the value of the Label from a selected TextFrame

#18642
From: Dennis Hillen
Date: Fri, 28 Feb 2003 07:10
5 lines
1180 bytes
Hi. I have a document with several pages in it. Each page has several text frames and rectangles on it.
What I would like to do is select a text frame (or rectangle, but not both at the same time) on a page, then run a VB script that shows a message box telling me the contents of the Label associated with that text frame (or rectangle).
Does anyone have any code that does something similar? I've tried, but can't seem to get my head around it.
Regards,
Dennis
Technical Details
Message-ID: <1de811da.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2d2312c5afbdac7f,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-02-27 23:37:35 PST
From: "Dennis Hillen" <hillend@tcp.newsltd.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: VB: Get the value of the Label from a selected TextFrame
Message-ID: <1de811da.-1@WebX.la2eafNXanI>
Date: Thu, 27 Feb 2003 23:10:28 -0800
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit