Article View: adobe.scripting.indesign
Article #260AppleScript do script to run a JavaScript
From: Malcolm Wooden
Date: Thu, 19 Mar 2009 12:30
Date: Thu, 19 Mar 2009 12:30
9 lines
1013 bytes
1013 bytes
I have a mac program that uses an AS do script to run a JavaScript. However, although the AS starts ID it never gets to trigger the JavaScript which is there to build a page. My AS do script is like this:
on run {aScriptPath}
tell application "Adobe InDesign CS3"
do script alias aScriptPath language javascript
end tell
end run
Why does the JScript not run?
Technical Details
Message-ID:
<59b8585f.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,9e87ebc19aa2c8b1,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Malcolm Wooden" <mwooden@dtptypes.com> Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: AppleScript do script to run a JavaScript Message-ID: <59b8585f.-1@webcrossing.la2eafNXanI> Date: Thu, 19 Mar 2009 05:30:48 -0700 Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit