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

actions save for Web File-Type

Contributor ,
Nov 07, 2024 Nov 07, 2024

Copy link to clipboard

Copied

Hi,

Have Ps-doc with layers.

Want save each layer >> save for Web

Recording an action, and see result, works fine.

(the file gets his correct extention: -PNG- ... that's OK)

But, when running the action the file becomes an  extention: -HTML-  ... that's not OK.

How fix that problem?

(question focus on the Save for Web problem only)

TOPICS
Actions and scripting

Views

193

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 2 Correct answers

Contributor , Nov 14, 2024 Nov 14, 2024

earlier I gave an answer of the solution. Apparently that answer was removed by Adobe???
The problem has been solved.
I don't use Save for Web (where the file name problem arose with cut/paste).
I now use save as, which works satisfactorily.
As for the user input: before starting an action I put a value in a PS layer and use it with cut and paste.

Votes

Translate

Translate
Contributor , Nov 14, 2024 Nov 14, 2024

@jane-e 

Oh yes, help, you're right, I made a mistake, sorry. I'll put the text in the right thread here.

Adobe question if problem is solved...

The original question comes from: how do I process "user input".
I want to change the file name to the equivalent of the layer name + an addition.
Apparently that doesn't work with "Save for Web" >> PNG is saved as HTML!!.
After some testing I decided not to save for web, but as regular PNG, because it works well there.
I don't use REAL user input, but put th

...

Votes

Translate

Translate
Adobe
Community Expert ,
Nov 07, 2024 Nov 07, 2024

Copy link to clipboard

Copied

@jan99x 

 

Without knowing the steps in your action, it's hard to say.

 

Jane

 

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
Contributor ,
Nov 07, 2024 Nov 07, 2024

Copy link to clipboard

Copied

@jane-e  Thanks for reply.

PS doc has layers, each layer wanted to save as web.

In the image example ... the exploded view of the step: Save for Web

Note: before starting the action I set the save for web settigs to PNG by hand.

colors in image:

red = set to PNG

blue = next layer

yellow >> do not know why it is HTML

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
Contributor ,
Nov 07, 2024 Nov 07, 2024

Copy link to clipboard

Copied

In the meantime, I am one step further in researching the problem...
The problem arises when I go to the Save for Web window and change the file name there (NOT the extension!). As soon as I change that with a cut and paste of the PS layer name in question, the problem arises. The file will then receive an HTML extension. That is not the intention, but it is also not correct for the contents of that file ... if I later manually change the extension to PNG, it turns out to be a correct PNG file.

So: when I record the action, everything works fine...as soon as I play the action the HTML extension appears.
The problem lies with cut and paste in the file name in the Save for Web window....how to solve that?

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
Contributor ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

earlier I gave an answer of the solution. Apparently that answer was removed by Adobe???
The problem has been solved.
I don't use Save for Web (where the file name problem arose with cut/paste).
I now use save as, which works satisfactorily.
As for the user input: before starting an action I put a value in a PS layer and use it with cut and paste.

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 ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

quote

earlier I gave an answer of the solution. Apparently that answer was removed by Adobe?

By @jan99x

 

Was this your answer that you marked correct yesterday?

 

janee_0-1731618391017.png

 

If so, it was not removed by Adobe. Instead it was posted on a different thread:

https://community.adobe.com/t5/photoshop-ecosystem-discussions/user-input-during-action/m-p/14979019...

 

Jane

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
Contributor ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

LATEST

@jane-e 

Oh yes, help, you're right, I made a mistake, sorry. I'll put the text in the right thread here.

Adobe question if problem is solved...

The original question comes from: how do I process "user input".
I want to change the file name to the equivalent of the layer name + an addition.
Apparently that doesn't work with "Save for Web" >> PNG is saved as HTML!!.
After some testing I decided not to save for web, but as regular PNG, because it works well there.
I don't use REAL user input, but put the desired text in a dummy work layer in advance and create (append) a complete file name with CTRL-C > CTRL-V.
I am satisfied with that solution. The file size hardly differs from save for web and the color difference is nil.
Greetings, Jan

 

 

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