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

Export Layer Comps to files (but without the hypens)

New Here ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Possible?

 

Is this a modifyable script and has anyone been able to remove the added hyphens when output exporting the files?

 

TIA!

TOPICS
Actions and scripting , macOS

Views

244

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
Adobe
Community Expert ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

I think that you mean _ underscore characters, not - hyphens.

 

Backup the original script.

 

Change all four instances of:

 

 

"_"

 

 

to something else, such as a space:

 

 

" "

 

 

code.png

 

Another alternative would be to run a Photoshop or operating system script or Adobe Bridge Batch Rename. 

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
New Here ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Strange for me whenenever I do File > Export > Layer Comps to Files... I get all spaces replaced by hyphens. 

 

Bul I'll try to do what you recommend but instead replacing hyphens with  space.

 

Thanks! 

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
New Here ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

You are right. All I see are the 4 "_" but as I mentioned earlier I don't get any underscores. This is what I get: 

 

2023-07-10_21-48-18.png

Doesn't make sense. 

 

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
Community Expert ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

what are your files settings in the script interface? Does it offer a save for web version?

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
New Here ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

You mean within the script? 

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
Community Expert ,
Jul 12, 2023 Jul 12, 2023

Copy link to clipboard

Copied

LATEST
quote

You mean within the script? 


By @xavierp1


Yes, does the script use a Save for Web export setting?

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