🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8432

Replacing specific text with graphic

#8432
From: remstudio
Date: Fri, 13 Oct 2006 16:00
5 lines
1258 bytes
Hi, I am new to ID scripting, but was lucky enough to attend a lecture in London with Olav K, so know the potentials of this tool.

I am looking to replace a particular piece of text with a graphic. Now I've used Olav's demo script but want more flexiblity. The script needs to find text formatted in a particular style (as set up in the styles palettes) and replace with am image, but the image will be different each time. The text that I need to find will become the file name. The image needs to be taken from the folder and then needs to placed in its own frame on the page with an object style.

I have read though most of the forum and found may snippets, but nothing that seems to match my criteria.
Technical Details
Message-ID: <3bc1f637.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,195a321a01d27e4c,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: remstudio
Newsgroups: adobe.scripting.indesign
Subject: Replacing specific text with graphic
Message-ID: <3bc1f637.-1@webcrossing.la2eafNXanI>
Date: Fri, 13 Oct 2006 09:00:57 -0700
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing