Article View: adobe.scripting.indesign
Article #9723[JS] Simple Question
From: Roy Marshall
Date: Fri, 21 Jul 2006 15:16
Date: Fri, 21 Jul 2006 15:16
16 lines
984 bytes
984 bytes
I feel so stupid asking this, but I am wanting to simply make the JS open a per-defined document!
My attempt is:-
myDocument = File("~/Desktop/AutomationExersise/BusCardTemplate.indd");
myDocument.open("e", undefined, undefined);
Which runs, gives a true output, but nothing opens. (The file DOES exist)
I have been trying many different variations, but no joy. Should I be using Alias'?
Cheers
Roy
Technical Details
Message-ID:
<3bc0fe30.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,82d0387528319a7b,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Roy Marshall" <rmarshall@rpm-repro.co.uk> Newsgroups: adobe.scripting.indesign Subject: [JS] Simple Question Message-ID: <3bc0fe30.-1@webcrossing.la2eafNXanI> Date: Fri, 21 Jul 2006 08:16:10 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing