Article View: adobe.scripting.indesign
Article #20618Tag Property from 1.5.2
From: Brad Funkhouser
Date: Sun, 16 Jun 2002 12:42
Date: Sun, 16 Jun 2002 12:42
9 lines
1365 bytes
1365 bytes
In several of my 1.5.2 scripts (which I'm now working on converting to 2.0.1) I used the "Tag" property on a PageItem in a simple way: when placing an image from a list of images, I "Tagged" the image's PageItem with some identifying text (e.g. "image1") so that later, when I looped through the PageItems, I'd know which image I was dealing with. Code: Set myImage = myPage.Place(FileName) Set myPageItem = myImage.Item(1).Parent myPageItem.Tag = "image" & ImageNum I'm getting an error on the 3rd line (object doesn't support property). Any suggestions on the easiest way to convert this code? Thanks.
Technical Details
Message-ID:
<ef926a1.-1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,ec1b3c3afa52ed2c,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-06-16 06:07:26 PST From: "Brad Funkhouser" <brad.funkhouser@verizon.net> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!supernews.com!feed.textport.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Tag Property from 1.5.2 Message-ID: <ef926a1.-1@WebX.aaQKaf7vad4> Date: Sun, 16 Jun 2002 05:42:21 -0700 Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit