🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17829

Re: AS changing text attributes

#17829
From: Olav Kvern
Date: Tue, 13 May 2003 17:08
13 lines
1345 bytes
Kari--

Didn't it work as posted? Or did you want to limit the find/change operation to the selected story?

re: object references being confusing

I agree. I'm told that it's an AppleScript "standard" that when you get a text object, you get the string contained by the text object, and that you use the object reference to get the object itself. To me, at least, this is completely counterintuitive--I expect to get the object, and then get the string from the object's contents if I need to.

This won't change, so it's just something we need to remember every time we're working with text objects.

Thanks,

Ole
Technical Details
Message-ID: <1de8dffa.14@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8dffa.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,3f638a313e6d5906
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-13 10:38:35 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: AS changing text attributes
Message-ID: <1de8dffa.14@WebX.la2eafNXanI>
Date: Tue, 13 May 2003 10:08:28 -0700
References: <1de8dffa.-1@WebX.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit