๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18129

Re: Replace text

#18129
From: Jens Schulze
Date: Fri, 25 Apr 2003 09:52
12 lines
1425 bytes
"Johan Segern๏ฟฝs" wrote:

> How do I mark what should be replaced? In a textframe i have
> 'bla bla bla bla DATE bla bla bla' where 'DATE' should be
> replaced by a string from a database.

Try something like {DATE} or <DATE> in the normal text (programmer would
normally call that placeholder), something you won't find naturally in the
text, and then replace this string. Then the designer is also able to enter
this dummys that your script will later replace by the actual data.

Jens
Technical Details
Message-ID: <39379DF48EA1955DD929998C317F6D55@in.WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8debf.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,8dc374c09771dee6
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-25 03:07:52 PST
From: "Jens Schulze" <adobeforums@trickbetrueger.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Replace text
Message-ID: <39379DF48EA1955DD929998C317F6D55@in.WebX.la2eafNXanI>
Date: Fri, 25 Apr 2003 02:52:55 -0700
References: <1de8debf.-1@WebX.la2eafNXanI>
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit