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

Reg: launch jsxbin from java | batch

Participant ,
Mar 16, 2013 Mar 16, 2013

Copy link to clipboard

Copied

Hi,

Please help me, how to launch *.jsxbin from java or batch file.

Thanks,

Balakrishnan R

TOPICS
Scripting

Views

647

Translate

Translate

Report

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
Enthusiast ,
Mar 16, 2013 Mar 16, 2013

Copy link to clipboard

Copied

LATEST

Hi,

a batchfile will use START "Name" "PathtoExtendScript" "PathToJsxBin"; so it'll have to launch ExtendScript.

As a alternative you can launch the jsxbin by a vbscript or vbscriptexecutable (exe, just export the vbs as exe ...)

Set fs = CreateObject("Scripting.FileSystemObject")
Set js = fs.GetFile("c:\HelloWorld.jsxbin") 
Set myInDesign = CreateObject("InDesign.Application.cs5.5")
myInDesign.DoScript js, 1246973031

Happy Scripting

Edit: To export a vbs to exe use for example:
http://www.vbsedit.com/

Votes

Translate

Translate

Report

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