Copy link to clipboard
Copied
I have a .vbs file that executes a .jsx script.
//vbs code
Set myInDesign = CreateObject("InDesign.Application")
Msgbox("This message from Vbscript")
myJavaScript = "D:\Ivoclar Vivadent\Scripts\Import-XML-Test.jsx"
myInDesign.DoScript myJavaScript, 1246973031
I can run this script through command prompt using the cscript command. Is there a way to execute this file from a html page or using PHP ?
Regards,
Shruti
Copy link to clipboard
Copied
With InDesign CC, you can even display HTML pages from within a panel: Introducing HTML5 extensions. On the other hand, PHP supports COM - the interface used by VisualBasic. If I were a PHP programmer, I'd take the PHP and COM - Manual as starting point.
For server scenarios Adobe also offers an InDesign Server that you can address with SOAP. Besides being optimized for faceless access, the server also has the benefit of an appropriate license for such use cases.
Dirk
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more