🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19160

Re: Trouble relinking

#19160
From: Dave Saunders
Date: Tue, 14 Jan 2003 12:13
15 lines
1777 bytes
Ole,

Thanks.

Shane set me right.

I was looking in the wrong place in the scripting guide. And so I didn't realize I needed to use "link item" to get at the link of an image.

Once I've relinked, I then only need to get at the image (that also has a new id, of course). My script is now working (although I've realized I need to add logic to allow for the possibility that the new image is larger than the prototype -- I've deliberately used a very large prototype, but it still could be not large enough in some circumstances: a larger one would cause the frame within the story to become overset, breaking the script.

Onwards and upwards: I'm trying to set up a scripted workflow for a new book. 2.0 is much easier to script than was 1.5.2, but I'm still biting off an awful lot here. It took me six months to do this last time around; this time I'm trying to do it in a few days.

I'm glad I've finally taken the plunge into using a library. It's a real time saver.

Dave
Technical Details
Message-ID: <1de75d81.7@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de75d81.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,f57e9cfba413414c
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-14 04:38:05 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Trouble relinking
Message-ID: <1de75d81.7@WebX.la2eafNXanI>
Date: Tue, 14 Jan 2003 04:13:33 -0800
References: <1de75d81.-1@WebX.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit