🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2628

Re: Highlight Text In indesign

#2628
From: jongware
Date: Fri, 12 Dec 2008 12:44
13 lines
1353 bytes
Robin, ofcourse, but the method has a few disadvantages.

You have to turn it on and off
u manually
. Peter's suggestion of eventlisteners is beyond my scripting knowledge...

Besides, a regular character style
u overwrites
any current character style that happens to be applied to the text.

I'm relieved to hear the GREP styles of CS4 don't do that, but that would mean you would have to put every possible highlite phrase into a GREP style -- which may be utterly impractical (suppose you want the word 'the' highlighted -- only once ).

My biggest gripe is that there has been a Plugin SDK example for years now, precisely doing this: a way to highlight text in the interface. Never understood why they just didn't add it to the standard plugins.
Technical Details
Message-ID: <59b74001.6@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b74001.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,efa4be8c4af70696
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: jongware@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Highlight Text In indesign
Message-ID: <59b74001.6@webcrossing.la2eafNXanI>
Date: Fri, 12 Dec 2008 04:44:15 -0800
References: <59b74001.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit