Article View: adobe.scripting.indesign
Article #19192Re: Adding identifier tag to any object (VB)
From: Olav Kvern
Date: Fri, 10 Jan 2003 06:45
Date: Fri, 10 Jan 2003 06:45
19 lines
1340 bytes
1340 bytes
Jack--
Label is the thing you want to use. That's what it's there for. You can store up to 32K worth of text in it, so there's room for quite a bit of stuff.<g>
I believe that the ID stays the same between sessions, but label is better--partly because you can refer to most objects directly using the label:
Rem Given a document "myDocument" and an unique label "myLabel"...
Set myPageItem = myDocument.Pages.Item(1).PageItems.Item("myLabel")
This doesn't work for everything, but it will work for all page items.
Thanks,
Ole
Technical Details
Message-ID:
<1de75085.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de75085.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2b5f441ca82cd237 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-09 23:10:46 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Adding identifier tag to any object (VB) Message-ID: <1de75085.0@WebX.la2eafNXanI> Date: Thu, 9 Jan 2003 22:45:19 -0800 References: <1de75085.-1@WebX.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit