🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20792

Changing character attributes in an existing paragraph

#20792
From: Erwin Schwabe
Date: Tue, 28 May 2002 07:58
1 lines
1160 bytes
There is a paragraph formatted with a parastyle:  myFrame.TextContents = Text1.Text & " " & Text2.Text myFrame.Paragraphs.Item(1).ParagraphStyle = "CD Title"  and I would like to have part of the text formatted in a different character style. With the search method the text can be found:  Set myLine = myFrame.TextLines.Item(1) Set myString = myLine.Search(Text2.Text, False)  But, can anybody help me how to get these things together to change the character style for the searched text?
Technical Details
Message-ID: <ef8c6ba.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!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,caddae21dfd6bc1e,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-05-28 01:07:26 PST
From: "Erwin Schwabe" <erwin.schwabe@wincor-nixdorf.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Changing character attributes in an existing paragraph
Message-ID: <ef8c6ba.-1@WebX.aaQKaf7vad4>
Date: Tue, 28 May 2002 00:58:03 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit