Article View: adobe.scripting.indesign
Article #8639Find/Change text with library asset (JS)
From: Theresa_Verburg
Date: Mon, 02 Oct 2006 15:40
Date: Mon, 02 Oct 2006 15:40
10 lines
1209 bytes
1209 bytes
Hi everyone:
I am trying to set up a script that will go through and find specific text and replace it with a library asset that is anchored into the text.
For example, I want to find any text consisting of 5 em spaces ("^m^m^m^m^m") and replace it with an inline graphic from the library named "myGraphic".
I'm afraid I'm confusing myself in the process. Can someone push me in the right direction please? I appreciate any help that you can give me on this.
Thanks!
Theresa
Technical Details
Message-ID:
<3bc1d8b8.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.code-werk.net!news.taunusstein.net!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,1a069e536fac981,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Theresa_Verburg@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.code-werk.net!news.taunusstein.net!news.mb-net.net!open-news-network.org!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Find/Change text with library asset (JS) Message-ID: <3bc1d8b8.-1@webcrossing.la2eafNXanI> Date: Mon, 2 Oct 2006 08:40:47 -0700 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit