Skip to main content
jan99x
Inspiring
November 7, 2024
Answered

actions save for Web File-Type

  • November 7, 2024
  • 1 reply
  • 619 views

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)

This topic has been closed for replies.
Correct answer jan99x
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?

 

 

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#M838723

 

Jane


@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

 

 

1 reply

jane-e
Community Expert
Community Expert
November 7, 2024

@jan99x 

 

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

 

Jane

 

jan99x
jan99xAuthor
Inspiring
November 7, 2024

@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

jan99x
jan99xAuthor
Inspiring
November 7, 2024

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?