Copy link to clipboard
Copied
Hello dear people,
I was wonder if you can help me with a jsx code to open all the .psd files present in a specific route.
for example, the route J:\My Documents\My Company\Posters
the Folder "Posters" has some .psd files, I want a script to open ALL the psd files in this folder.
NOTE: The folder could have different amount of files, for example, sometimes the folder can have 10 psd files and other times it can have 25 psd files.
I hope you can help me!
Thank you so much!
for(i = !(fls = Folder('/j/My Documents/My Company/Posters').getFiles(/.psd$/i)); i < fls.length;) open(fls[i++])
Copy link to clipboard
Copied
for(i = !(fls = Folder('/j/My Documents/My Company/Posters').getFiles(/.psd$/i)); i < fls.length;) open(fls[i++])
Find more inspiration, events, and resources on the new Adobe Community
Explore Now