opening multiple images
Ive converted an Action which opens multiple (about 60) images into photoshop into Java script.
which creates a rather lengthy result as it opens each image separately
here is 1 of 60 parts of a single opened file
// Open
function step2(enabled, withDialog) {
if (enabled != undefined && !enabled)
return;
var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
var desc1 = new ActionDescriptor();
desc1.putPath(cTID('null'), new File("/z/ANIMATION/RendersFolders/BatchLevel_0/Folder1/Face_0001.jpg"));
executeAction(cTID('Opn '), desc1, dialogMode);
Is there a way in which i can code this to utilize the single path structure, while merely appending each jpg to open
as an example, something like this?
// Open
function step2(enabled, withDialog) {
if (enabled != undefined && !enabled)
return;
var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);
var desc1 = new ActionDescriptor();
desc1.putPath(cTID('null'), new File("/z/ANIMATION/RendersFolders/BatchLevel_0/Folder1/Face_0001.jpg, Face_0002.jpg, Face_0003.jpg, Face_0004.jp"));
executeAction(cTID('Opn '), desc1, dialogMode);
Can something like this be done?
Thanks for any help
