Skip to main content
?...
Inspiring
January 18, 2022
Question

Migrated Content

  • January 18, 2022
  • 5 replies
  • 997 views

.

This topic has been closed for replies.

5 replies

?...
?...Author
Inspiring
January 28, 2022

.

Stephen Marsh
Community Expert
Community Expert
January 28, 2022

There are many scripts to run an action or other operation on all layers or only selected layers. Some may or may not work with different versions of Photoshop.

 

To save and use script code:

 

  1. Copy the code text to the clipboard
  2. Open a new blank file in a plain-text editor (not word-processor)
  3. Paste the code in
  4. Save the text file as .txt
  5. Rename the text .txt to .jsx
  6. Install or browse to the .jsx file to run

 

If these simple instructions are too abbreviated, you may need to read on...

 

Bojan Živković11378569
Community Expert
Community Expert
January 19, 2022

If you mean to patch on multiple layers from once then the answer is NO.

?...
?...Author
Inspiring
January 28, 2022

.

Bojan Živković11378569
Community Expert
Community Expert
January 28, 2022

For any private question please use contact form on my blog https://www.dezigneasy.com/p/contact.html

Stephen Marsh
Community Expert
Community Expert
January 18, 2022
?...
?...Author
Inspiring
January 28, 2022

.

Bojan Živković11378569
Community Expert
Community Expert
January 28, 2022

"if your supposed to copy the java code where you to paste the java code?"

 

Paste into notepad then save as JSX in Presets > Scripts folder. Restart Photoshop and script should appear in File > Scripts. Otherwise save script anywhre then use File > Scripts > Browse and navigate to script.

 

"Is this the only way to apply an action on mutliple layers by the way?"

Yes, there isn't built in option. You can run action on each and every layer or to try with Conditional actions but that is complex. The problem is that you can not tell through condition to not apply action twice to the same layer so you must have exact or matching number of conditional steps. Another option is to go through layers and apply same steps but again you must have matching number of select next layer and layers in the Layers panel.

Trevor.Dennis
Community Expert
Community Expert
January 18, 2022

I've been using the new version since it became available, because it is so much better.  When you use the older Shift F5 (Fill) dialog and choose Content Aware the toolbar switches to the Sample tool regardless of what was already selected.  This _appears_ to give you the option to Sample All Layers, but if you check my screenshot below where I have an empty layer selected...

...you get this error message

The exact same process but with the half filleed yellow layer selected ignores the underlying layer

I don't know if that answers your question in whatever context you were asking it from, but so long as you use the new Edit > Content Aware you should be fine.

 

?...
?...Author
Inspiring
January 19, 2022

.

Trevor.Dennis
Community Expert
Community Expert
January 18, 2022

In the new and more powerful Edit > Content Aware Fill