Article View: adobe.scripting.indesign
Article #17094Re: Exporting selected XML element [AS]
From: James Naylor
Date: Fri, 04 Jul 2003 19:08
Date: Fri, 04 Jul 2003 19:08
18 lines
1321 bytes
1321 bytes
Just wondering if there was any comments on this question - i am hitting a similar problem, using a modified ExportAllStories script (as found on the studio exchange site). the relevant parts of my script are: tell application "InDesign 2.0.2" set export from selected of XML export preferences of document 1 to true tell document 1 export format XML to myFilePath without showing options end tell end tell but the entire document gets exported. The document is open, with the element that i want to export from selected. Any thoughts as to why it doesn't work? cheers, James
Technical Details
Message-ID:
<1de93e12.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de93e12.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,134436b615023bf3 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-04 12:37:44 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-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Exporting selected XML element [AS] Message-ID: <1de93e12.0@WebX.la2eafNXanI> Date: Fri, 4 Jul 2003 12:08:49 -0700 References: <1de93e12.-1@WebX.la2eafNXanI> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit