ExtendScript/JavaScript Snippets

Get the path to the currently running script (ExtendScript) var scriptFile = File($.fileName); This assumes that the currently running script is in a file. If you run a script via app.doScript() there is no file name. In those cases, you need to pass that information in from the calling script. Get the folder containing the … Continue reading ExtendScript/JavaScript Snippets