🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18221

Working with item links

#18221
From: James Naylor
Date: Wed, 09 Apr 2003 12:07
17 lines
1343 bytes
Hi,

more help needed! I am working with some text frames - some have text placed in them (and so have a link reference) and some are created on the page (i.e. with nothing 'placed' into them).

How can I search through the document, run some routine if there *is* a placed file, and skip if there isn't?

The script I have been trying to bend to my will seems to think that all frames have a 'link item' reference, even when the frames have been created fresh by typing into them.

This is a snippet:

if exists item link of story myCounter of myDocument then

etc..

Any help gratefully appreciated!

James
Technical Details
Message-ID: <1de8a933.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!skynet.be!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!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,31de502acd2d5a31,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-09 05:38:18 PST
From: "James Naylor" <james.naylor@rbi.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!skynet.be!skynet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Working with item links
Message-ID: <1de8a933.-1@WebX.la2eafNXanI>
Date: Wed, 9 Apr 2003 05:07:27 -0700
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit