What to use when, and why?
Some background: I'm currently working on a panel in Adobe Configurator which calls scripts via links in a html widget.
Basically it looks like this:
var scriptFile = new File(app.path + '/Presets/Scripts/myscript.jsx');
$.evalFile(scriptFile, 30000);
myFunction(args);
I'm wondering when the following is preferred:
//@include myscript.jsx
myFunction(args);