Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by senthil_nagore
Thu, 12 Mar 2009 14:15
How to execure a jar file from INdd CS3 Java script
Author: senthil_nagore
Date: Thu, 12 Mar 2009 14:15
Date: Thu, 12 Mar 2009 14:15
5 lines
701 bytes
701 bytes
Hi, I use "File(sample.jar).execute() " any alternate way is Available?? Thanks in advance.
Re: How to execure a jar file from INdd CS3 Java script
Author: jongware
Date: Thu, 12 Mar 2009 14:33
Date: Thu, 12 Mar 2009 14:33
22 lines
1039 bytes
1039 bytes
JAR files == Java
Java != JavaScript
It seems your sample -- WITH added quotes! --
File("sample.jar").execute()
merely hands over the file to the OS; i.e.,
File("C:\\Temp\\test.pdf").execute();
opens the PDF file in my current PDF viewer.
So, your jar file is executed by your Java installation, without JavaScript knowing anything about it.
Java has nothing in common with JavaScript. Nothing.
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