Article View: adobe.scripting.indesign
Article #20497Re: Apply character style to chosen characters? (AS)
From: Shane Stanley
Date: Thu, 04 Jul 2002 00:31
Date: Thu, 04 Jul 2002 00:31
18 lines
1365 bytes
1365 bytes
in article ef97992.1@WebX.aaQKaf7vad4, Kari Puikkonen wrote:
> That solved it!
Good -- now let's do it the easy way:
tell application "InDesign 2.0.1"
set find preferences to nothing
set change preferences to nothing
tell document 1
set theStyle to character style "Time"
search document 1 with find attributes {find text:"^9"} with change
attributes {applied character style:theStyle}
end tell
end tell
--
Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<B949D480.352D8%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<ef97992.-1@WebX.aaQKaf7vad4> <ef97992.1@WebX.aaQKaf7vad4>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e7eb9c0f57bd6ad2 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-07-03 17:38:57 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Apply character style to chosen characters? (AS) Message-ID: <B949D480.352D8%sstanley@myriad-com.com.au> Date: Wed, 3 Jul 2002 17:31:29 -0700 References: <ef97992.-1@WebX.aaQKaf7vad4> <ef97992.1@WebX.aaQKaf7vad4> Lines: 19 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit