🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1110

Re: Positioning Inline images? [CS3 JS WIN]

#1110
From: Harbs
Date: Tue, 17 Feb 2009 07:37
13 lines
1166 bytes
You can get the same result in CS2, but it's a lot more convoluted.

The basic idea is to build an array of the exact file name strings. To 
do this you use js RegEx to search the contents of every story. The 
results of this match() will give you the strings you need. You then 
iterate through your array and do a search() on your doc to do the 
replacements.

I think Peter's book on scripting InDesign has examples of this method.

-- 
Harbs
http://www.in-tools.com
Technical Details
Message-ID: <EAE9756434191F3F911E5AE235234BC5@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7e7c8.-1@webcrossing.la2eafNXanI> <59b7e7c8.5@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,af274cf8762a4d09
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Harbs
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Positioning Inline images? [CS3 JS WIN]
Message-ID: <EAE9756434191F3F911E5AE235234BC5@in.webcrossing.la2eafNXanI>
Date: Mon, 16 Feb 2009 23:37:46 -0800
References: <59b7e7c8.-1@webcrossing.la2eafNXanI> <59b7e7c8.5@webcrossing.la2eafNXanI>
Lines: 14
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit