🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
2 messages
2 total messages Started by Wim_Bijnens Mon, 02 Feb 2009 22:07
Open an indd file
#1671
Author: Wim_Bijnens
Date: Mon, 02 Feb 2009 22:07
15 lines
971 bytes
Hello,

CAn somebody help me?

I'm trying to open a file with the JavaScript code below, but I get a security error (no access to the file) Please tell me what is wrong...

I was told to use CreateObject, but that doesnt work in JavaScript/Jscript....

Code:
myIndesign = new ActiveXObject("IndesignServer.Application.CS3");
var myDocument = myIndesign.open("E:\test\tagged.indd", false);

Thanks,

Wim
Re: Open an indd file
#1672
Author: Olav_Kvern
Date: Mon, 02 Feb 2009 22:12
15 lines
793 bytes
Hi Wim,

Try:



var myDocument = myIndesign.open(File("/E/test/tagged.indd")), false);



Also, you may have problems with new ActiveXObject; use CreateObject instead.

Thanks,

Ole
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