Article View: adobe.scripting.indesign
Article #971Re: [JS] Is it possible to export without disk I/O?
From: Olav_Kvern
Date: Tue, 24 Feb 2009 20:49
Date: Tue, 24 Feb 2009 20:49
7 lines
997 bytes
997 bytes
Hi Andreas, You can only use the exportFile method to export to disk. But you're entirely free to use any tagging/markup scheme you want to put data into a text variable. Take a look at the ExportHTML.jsx example--it shows how to mark up text as HTML and write it to disk (without using exportFile), but instead of writing to disk, it could easily write the text into a variable. Thanks, Ole
Technical Details
Message-ID:
<59b7fbc8.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7fbc8.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,af57508137570c22 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS] Is it possible to export without disk I/O? Message-ID: <59b7fbc8.1@webcrossing.la2eafNXanI> Date: Tue, 24 Feb 2009 12:49:21 -0800 References: <59b7fbc8.-1@webcrossing.la2eafNXanI> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit