1 Reply Latest reply on Mar 15, 2018 1:20 PM by RedGreenBlue1024

    Multiple extension options ? Not working...

    RedGreenBlue1024 Level 1

      Hi guys,

       

      I'm on Photoshop CC on MacOSx.

      I'm looking to run a script that I've found.

      It only accept PNG.

      batchLauncher.FileExtensionFilter = "png";

       

      I wish I could use PSD as well. But the way I write it don't work.

      Here all the way I've tried. Plus I've check the javascript reference book and found nothing that help.

       

      batchLauncher.FileExtensionFilter = "png, psd";

      batchLauncher.FileExtensionFilter = "*.png,*.psd";

      batchLauncher.FileExtensionFilter = "Files:*.png,*.psd";

      batchLauncher.FileExtensionFilter = "Files: png, psd";

       

      or

      batchLauncher.FileExtensionFilter = "psd";

      batchLauncher.FileExtensionFilter = "png";

       

      Anybody knows what I'm doing wrong ?

      thanks