🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19492

VB Replace tilde (~) to keyword term in the whole story

#19492
From: Robert Ole�
Date: Tue, 10 Dec 2002 23:56
16 lines
1262 bytes
I have text of the large dictionary in paragraph styles like this:

<keyword_par>
  <quota_par>
  ...
  <quota_par>
<keyword_par>
  <quota_par>
  ...

In every "keyword_par" paragraph I have keyword term (tab separated ^tKEYWORD^t). Keyword is always as the first word of a "keyword_par").
In this paragraph and the next ones "quota_par" paragraphs I have tilde (~) insted of keyword.

I need a script to quickly put keywords insted of tilde in the whole story, or document.

Robert
Technical Details
Message-ID: <1de6f48c.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!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,c168581f3e69bb64,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-10 16:08:25 PST
From: "Robert Ole�" <ro@d2d.pl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: VB Replace  tilde (~) to keyword term in the whole story
Message-ID: <1de6f48c.-1@WebX.la2eafNXanI>
Date: Tue, 10 Dec 2002 15:56:07 -0800
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit