Article View: adobe.scripting.indesign
Article #20269[VB] Index and tables
From: Silvere COLLET
Date: Fri, 02 Aug 2002 16:02
Date: Fri, 02 Aug 2002 16:02
9 lines
1289 bytes
1289 bytes
Hi, I'm new to scripting and I'm trying to write a VBscript that would find any occurence of text in a document that would match a given character style. I managed to do so but it only works when the found text is not in a table. In fact, the trouble is how to find the parameters to give when adding a page reference : the first one is a story (I suppose it is the parent of the table) and the second one is the offset of my found text in this story and I just don't know how to get it since the index property of my found text refers to the text of the cell. can somebody explain me how to deal with this ? Thanks Silvere
Technical Details
Message-ID:
<ef9fe87.-1@WebX.aaQKaf7vad4>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!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,f8439b610b4f2b45,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-08-02 09:08:13 PST From: "Silvere COLLET" <scollet@jouve.fr> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: [VB] Index and tables Message-ID: <ef9fe87.-1@WebX.aaQKaf7vad4> Date: Fri, 2 Aug 2002 09:02:12 -0700 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit