Article View: adobe.scripting.indesign
Article #19788Re: VB6&ID - Replace function like ImportXML
From: David Ames
Date: Fri, 22 Nov 2002 01:35
Date: Fri, 22 Nov 2002 01:35
3 lines
1238 bytes
1238 bytes
Ok, now I get it! PageItems(x).Item does not return a PageItem, but a specific type of object depending on what the TypeName of the PageItem is, ie, if TypeName(PageItems(x).Item) = "TextFrame" then I can set a TextFrame typed variable to PageItems(x).Item. F.Y.I., i'm actually trying to go the other way, take a XML document and apply it to an Indesign document, intelligently replacing content as necessary...
Technical Details
Message-ID:
<1de6b092.8@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de6b092.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9fb81744ad733cf6 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-21 17:37:36 PST From: "David Ames" <davida@in-site.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB6&ID - Replace function like ImportXML Message-ID: <1de6b092.8@WebX.la2eafNXanI> Date: Thu, 21 Nov 2002 17:35:59 -0800 References: <1de6b092.-1@WebX.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit