indesign-server

Is it possible to execute JSX scripts from outside ExtendScript?

纵饮孤独 提交于 2019-12-17 07:05:41
问题 Typically when you're writing a .jsx script to automate an Adobe product (like InDesign, Illustrator or Photoshop), you write, debug and execute the script from the ExtendScript IDE. Is it possible to bypass ExtendScript and run the script from a third program? I think Adobe products have a built-in JavaScript interpreter which ExtendScript can connect to to access the Adobe object models and automate their software. I'd like to be able to connect directly to that interpreter and run jsx

What is the difference between app.doScript and $.evalFile?

风流意气都作罢 提交于 2019-12-12 07:59:20
问题 The only difference I have found so far: If a script that is run by app.doScript returns an error, the file and line number of the error are overridden by the file and line number of the app.doScript call. Are there any other differences I should know about? Here's sample code that demonstrates the above difference: First run InDesign: c: cd "C:\Program Files\Adobe\Adobe InDesign CS6 Server x64" InDesignServer.com -port 12345 pause Next create a batch file to run a script: c: cd "C:\Program

What is the difference between app.doScript and $.evalFile?

可紊 提交于 2019-12-03 13:28:20
The only difference I have found so far: If a script that is run by app.doScript returns an error, the file and line number of the error are overridden by the file and line number of the app.doScript call. Are there any other differences I should know about? Here's sample code that demonstrates the above difference: First run InDesign: c: cd "C:\Program Files\Adobe\Adobe InDesign CS6 Server x64" InDesignServer.com -port 12345 pause Next create a batch file to run a script: c: cd "C:\Program Files\Adobe\Adobe InDesign CS6 Server x64" sampleclient -host localhost:12345 -server "C:/doscript_vs

Is it possible to execute JSX scripts from outside ExtendScript?

别说谁变了你拦得住时间么 提交于 2019-11-27 03:01:34
Typically when you're writing a .jsx script to automate an Adobe product (like InDesign, Illustrator or Photoshop), you write, debug and execute the script from the ExtendScript IDE. Is it possible to bypass ExtendScript and run the script from a third program? I think Adobe products have a built-in JavaScript interpreter which ExtendScript can connect to to access the Adobe object models and automate their software. I'd like to be able to connect directly to that interpreter and run jsx files just as I would in ExtendScript. Are you on a Mac? If so, you can use AppleScript with the osascript