Skip to main content
Stephen Marsh
Community Expert
Community Expert
Nov 27, 2022 5:31 AM UTC
Question

Photoshop Action Helper Scripts

Originally posted on my blog:
 
 
For many Photoshop users, Actions are a relatively easy and accessible form of automation. Although easy to create, Actions have numerous limitations. 
 
Scripts can extend Actions, making up for their limitations. Users who are comfortable with Actions can use a "snippet" of script code in their Action to achieve a result that would otherwise be impossible. 
 
The goal is to enable Photoshop users comfortable with Actions to leverage the power of scripting – without requiring the knowledge to write scripts themselves.
 
I intend to create and maintain a repository of code snippets designed to perform a specific Action step that is not otherwise achievable. The average Photoshop user doesn't need to know how to write script code – they only need to run the script while recording it as an Action step.
 
As an end user, do you need help or have a feature request for a step that is not possible using an action step? Post a reply with your idea/request.
 
As a script developer, would you like to share code or help contribute snippets? I encourage like-minded script creators to share their code snippets, which I'll add into the repo. Although script length doesn't matter, the intent is to keep the scripting code as short and concise as possible. Apart from the "header" of the script, there isn't any need to comment the scripts, except where minimal end-user editing is required within the script itself.
 
Errors, omissions, bugs or other issues? Please let me know.
 
The coding platform Snippet.io is being used to host the code, as it offers the ability to group code into "collections" that are easy to find, use and maintain. 
 
 
Photoshop Action Helper Scripts – Paths
 
Photoshop Action Helper Scripts – Channels
 
Photoshop Action Helper Scripts – Layers
 
Photoshop Action Helper Scripts – Conditionals
 
Photoshop Action Helper Scripts – Rulers
 
Photoshop Action Helper Scripts – Tools
 
Photoshop Action Helper Scripts – Artboards
https://snipit.io/public/collections/22836/22836
 
Photoshop Action Helper Scripts – Metadata
 
Photoshop Action Helper Scripts – Selection
https://snipit.io/public/collections/22989/22989
 
Photoshop Action Helper Scripts – Guides
Photoshop Action Helper Scripts – Camera Raw Filter
 
Photoshop Action Helper Scripts – Open Files
https://snipit.io/public/collections/23114/23114
 
 
Information on saving script code and installing/running scripts here:
 
This topic is closed to new replies. Start a new post to keep the conversation going.

22 replies

PECourtejoie
Community Expert
Community Expert
Jan 19, 2023 12:08 PM UTC

Again, Excellent idea, @Stephen Marsh I hope that all the scripters in here can contribute to your endeavor.

Now, with those "Bricks" it would be perfect to have a tool that non-tech oriented users could use to create the script they need, similar to Apple's Shortcuts...

Translate
PECourtejoie
Community Expert
Community Expert
Jan 19, 2023 12:23 PM UTC

Is @Chuck Uebele around? I'm sure he could also contribute.

Translate
Stephen Marsh
Community Expert
Community Expert
Jan 18, 2023 9:15 AM UTC

I have added a new collection for "File > Open" with a script to open the most recently opened file from the File > Open Recent menu item.

 

Photoshop Action Helper Scripts – Open Files
https://snipit.io/public/collections/23114/23114

Translate
Stephen Marsh
Community Expert
Community Expert
Jan 9, 2023 2:47 PM UTC

I have added a new collection/category for the Camera Raw Filter in Photoshop (not to be confused with the Adobe Camera Raw plug-in):

 

Photoshop Action Helper Scripts – Camera Raw Filter
 
Translate
Stephen Marsh
Community Expert
Community Expert
Jan 2, 2023 5:58 AM UTC

Added another main category/collection for Guides:

 

Photoshop Action Helper Scripts – Guides

Translate
Stephen Marsh
Community Expert
Community Expert
Jan 2, 2023 2:39 AM UTC

A new collection has been added for Selection. A script to crop to selection while retaining cropped pixels (only available to the crop tool using native tools, not available in Image > Crop with a selection active).

 

Photoshop Action Helper Scripts – Selection
https://snipit.io/public/collections/22989/22989

Translate
Stephen Marsh
Community Expert
Community Expert
Dec 30, 2022 12:52 AM UTC

I have added a new collection for metadata, with a couple of scripts for labels and ratings:

 
Translate
Stephen Marsh
Community Expert
Community Expert
Dec 10, 2022 11:29 PM UTC

I have added a new collection with six artboard scripts for changing the active artboard background colour:

 

https://snipit.io/public/collections/22836/22836/

 

Translate
Legend
Dec 8, 2022 8:18 PM UTC

Some time ago I started saving code snippets from the answers I give in this community - https://github.com/boogalooper/Snippets 

The header of each script contains the name of the topic and a link to it in order to understand the context of the task. If you find something suitable for embedding in actions, then, of course, you can use it.

Translate
Stephen Marsh
Community Expert
Community Expert
Dec 8, 2022 11:55 PM UTC

Thank you for sharing @jazz-y 

Translate
Legend
Dec 8, 2022 4:57 PM UTC

Feel free to add anything you find interesting off my dropbox.

https://www.dropbox.com/sh/mg817g9a9ymbasi/AADTmXUVxmFfM58bcyYE7yiwa?dl=0

Translate
Stephen Marsh
Community Expert
Community Expert
Dec 8, 2022 11:54 PM UTC

@Lumigraphics – thank you! If a question comes up and I can use something, I will.

 

I can't make up most of the stuff that is posted here as a request, users have diverse needs and my imagination must be quite limited :]

 

I need concrete specific examples. I want to do "X, or Y or Z" as a step in an action, but can't. The idea is to simply provide a small snippet of code that can be recorded into an action as a single step to overcome an issue.

 

Translate
PECourtejoie
Community Expert
Community Expert
Dec 8, 2022 5:59 AM UTC

Oooh, thank you! This deserves lots of visibility! Let me poke around!

Translate
PECourtejoie
Community Expert
Community Expert
Dec 8, 2022 5:14 PM UTC

I was wondering if we could scour the forums for snippets, or do they need to have a given license?

Translate