Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Script to open all the .PSD files in an specific folder

New Here ,
Jun 16, 2018 Jun 16, 2018

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!

TOPICS
Actions and scripting
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 16, 2018 Jun 16, 2018

for(i = !(fls = Folder('/j/My Documents/My Company/Posters').getFiles(/.psd$/i)); i < fls.length;) open(fls[i++])

Translate
Adobe
LEGEND ,
Jun 16, 2018 Jun 16, 2018
LATEST

for(i = !(fls = Folder('/j/My Documents/My Company/Posters').getFiles(/.psd$/i)); i < fls.length;) open(fls[i++])

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines