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

Multiple extension options ? Not working...

Explorer ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

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

TOPICS
Actions and scripting

Views

552

Translate

Translate

Report

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

Explorer , Mar 15, 2018 Mar 15, 2018

I solve it.

batchLauncher.FileExtensionFilter = "*";

Now I can use ANY format !

thanks to myself!

Haha

Votes

Translate

Translate
Adobe
Explorer ,
Mar 15, 2018 Mar 15, 2018

Copy link to clipboard

Copied

LATEST

I solve it.

batchLauncher.FileExtensionFilter = "*";

Now I can use ANY format !

thanks to myself!

Haha

Votes

Translate

Translate

Report

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