🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16149

Re: "Bolding" all words before hyphen in classifieds...advice please?

#16149
From: Shane_Stanley
Date: Fri, 17 Oct 2003 08:06
21 lines
1638 bytes
On 17/10/03 5:21 PM +1000, Eelko Heuvelmans, member@adobeforums.com, wrote:

> I'm not very used with VB
> I understand programming in general and had some courses in other languages.
> These days i'm concentrating on Vb and scripts.
> 
> But i never ran into a Whose Clause!
> I have seen the script Jay putted here. It seems to me it's some kind of aa
> loop condition. 
> Can it be used in vb and why are you guys so happy about it?
> 
> I'm just wondering :)

It's AppleScript only. The more formal name is a filtered reference, and you
use it instead of iteration to find objects whose property or properties
match certain criteria. So you might say something like 'every word of story
1 whose contents contains "script"' or or 'every text frame of page 1 whose
fill color is color "A color"'.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BBB5E023.6A1B4%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccddd2c.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,b3734101a930c616
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-17 01:07:33 PST
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: "Bolding" all words before hyphen in classifieds...advice please?
Message-ID: <BBB5E023.6A1B4%sstanley@myriad-com.com.au>
Date: Fri, 17 Oct 2003 01:06:28 -0700
References: <2ccddd2c.-1@webx.la2eafNXanI>
Lines: 29
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit