🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
4 messages
4 total messages Started by candido_serra Thu, 15 Jan 2009 19:19
How to start Indesign with JS
#1922
Author: 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
Re: How to start Indesign with JS
#1924
Author: Bob Stucky
Date: Thu, 15 Jan 2009 20:19
3 lines
843 bytes
For Adobe products, ExtendScript (Adobe's JS flavor) only executes inside the context of a running Adobe application. The only outside connectivity is through BridgeTalk, which is accessible only from another Adobe application or an Air application.

Bob
Re: How to start Indesign with JS
#1926
Author: candido_serra
Date: Thu, 15 Jan 2009 21:51
1 lines
693 bytes
Thanks for the explanation Bob.
Re: How to start Indesign with JS
#1931
Author: JerrodHill
Date: Fri, 16 Jan 2009 07:08
5 lines
748 bytes
Still you might be interested in this first line...

#target indesign

At the top of a .jsx file on the desktop, it can start InDesign.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads