Article View: adobe.scripting.indesign
Article #9444Re: JS: Reading Text out of EPS files
From: Dave_Saunders
Date: Sun, 20 Aug 2006 22:52
Date: Sun, 20 Aug 2006 22:52
14 lines
889 bytes
889 bytes
Thanks Shane.
There's something truly weird going on. I wrote this:
var myFile = File.openDialog("Pick an eps file");
if (myFile == null) { exit() }
myFile.open("r");
myText = myFile.read();
myFile.close();
alert(myText);
and all I got was this:
≈��∆
Technical Details
Message-ID:
<3bc153be.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc153be.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,41b63fc201f6d7d5 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: JS: Reading Text out of EPS files Message-ID: <3bc153be.1@webcrossing.la2eafNXanI> Date: Sun, 20 Aug 2006 15:52:00 -0700 References: <3bc153be.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing