Run an action on a file before inserting into a Smart Object
I'm programmatically replacing the content of smart object using the following code (😞
..
if ($.os.search(/windows/i) != -1)
{
var folder = new Folder("F:/Test Folder);
var theFiles = folder.getFiles(/\.(png|jpg|tif|eps|psd)$/i)
}
if (theFiles) {
for (var m = 0; m < theFiles.length; m++) {
theLayer = replaceContents (theFiles
..
I want to be able to run an action on theFiles
Thanks for the help!