🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1922

How to start Indesign with JS

#1922
From: candido_serra
Date: Thu, 15 Jan 2009 19:19
11 lines
862 bytes
To start Indesign and create a new document with VBS I use this code:

Set myInDesign = CreateObject("InDesign.Application.CS3")
Set myDocument = myInDesign.Documents.Add

With JS the second line will be:
var myDocument = app.documents.add();

but how I can write the JS code for the first line?

Thanks
Technical Details
Message-ID: <59b78619.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,15e43fd03c295d6e,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: candido_serra@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: How to start Indesign with JS
Message-ID: <59b78619.-1@webcrossing.la2eafNXanI>
Date: Thu, 15 Jan 2009 11:19:47 -0800
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit