Can this be done?
Thanks for any help
You could try this...
var SCRIPTS_FOLDER = decodeURI(app.path + '/' + localize("$$$/ScriptingSupport/InstalledScripts=Presets/Scripts")); var Script1 = File(SCRIPTS_FOLDER + "/Script1.jsx"); var Script2 = File(SCRIPTS_FOLDER + "/Script2.jsx"); var Script3 = File(SCRIPTS_FOLDER + "/Script3.jsx"); $.evalFile (Script1); $.evalFile (Script2); $.evalFile (Script3);
This works great!
If i might trouble you for a minor addition?
Currently the script directory path resides in the local application folder.
How would this code be written to reflect a different directory path outside of the Application?
...Still running the script from photoshop, but say its calling the three scripts kept in: Z:\ANIMATION\Max_Renders\FaceLevels\ActionsScripts
(I'm trying numerous variations with no luck)
Worked!... with a slight modification.
Received errors until I added a backslash at the end of the SCRIPTS_FOLDER path, and removed the backslash from the FILE name begining.
var SCRIPTS_FOLDER = "/z/ANIMATION/Max_Renders/FaceLevels/ActionsScripts/";
var Script1 = File(SCRIPTS_FOLDER + "Script1.jsx");
var Script2 = File(SCRIPTS_FOLDER + "Script2.jsx");
var Script3 = File(SCRIPTS_FOLDER + "Script3.jsx");