Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is there a way to execute the .vbs file from a html page ? Or by using PHP ?

New Here ,
Dec 22, 2014 Dec 22, 2014

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

TOPICS
Scripting
593
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Dec 23, 2014 Dec 23, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines