Quantcast
Channel: Adobe Community: Message List - Calling one script from another
Browsing latest articles
Browse All 7 View Live

Calling one script from another

InDesign has a nice mechanism for calling one script from another, so code can be made modular. What about FrameMaker ExtendScript? What methods are people using to call one script from another? Thanks...

View Article



Re: Calling one script from another

Hi Rick, I write my scripts such that they always have the entire code in a function call, Basically, the only piece of code outside the main function call is calling that main function (so that I can...

View Article

Re: Calling one script from another

Hi Jang, Can you further explain: Save that overall script as binary and you do not need to drag all the scripts into the startup directory.When I use #include <scriptname.jsx>, I get the...

View Article

Re: Calling one script from another

Hi Trevor, Note that ExtendScript is Javascript plus FM objects and methods, so you need to stick to Javascript syntax rules. The right way to include another script source is as follows: #include...

View Article

Image may be NSFW.
Clik here to view.

Re: Calling one script from another

Thanks for all your help! One last question, is it possible to include a script from a network server? For example, something like#include "\\network_server\path\to\scriptname.jsx"; Edit:Just to be...

View Article

Browsing latest articles
Browse All 7 View Live




Latest Images