Article View: adobe.scripting.indesign
Article #10163Re: DoScript command AppleScript
From: Dave_Saunders
Date: Tue, 04 Jul 2006 18:05
Date: Tue, 04 Jul 2006 18:05
7 lines
1005 bytes
1005 bytes
Do script requires a file object if you want to run an external file. If you just provide a string, it tries to interpret the string as a script. What you're seeing is ExtendScript complain that: /Applications/Adobe InDesign CS2/Presets/Scripts/Duplicate Page.js is invalid JavaScript. Dave
Technical Details
Message-ID:
<3bc0ce39.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!193.190.198.17.MISMATCH!syros.belnet.be!news.belnet.be!news.stben.net!webcrossingReferences:
<3bc0ce39.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fa62a14327e4e371 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: DoScript command AppleScript Message-ID: <3bc0ce39.3@webcrossing.la2eafNXanI> Date: Tue, 4 Jul 2006 11:05:12 -0700 References: <3bc0ce39.-1@webcrossing.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!193.190.198.17.MISMATCH!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing