Photoshop scripts are Photoshop actions on setriods , i read this somewhere along the way searching for a way to overcome and find a solution for one of my today’s daunting tasks. I had in my around 40 graphics all layered in a single photoshop file which i wanted to convert into JPG and PNG , this i am able to do through a script run of exporting all layers to JPGs and PNGs . My quest was to find a solution to rename all these layers in one go… hmm can take a while to do that !.
I came across this wonderful list of scripts for photoshop which totally came in handy for today’s task and i hope many more to come .. so i had to share these with you .
below is a list of scripts by Trevor Morris Photographics which ofcourse thankfully solved my today’s problem of renaming all the layers in photoshop.
This script generates a two-dimensional array of cloned objects based on the selected layer or group. The user interface also allows you to specify the number of rows and columns, as well as the horizontal and vertical spacing between objects.
This script converts and saves an image to black-and-white using 20 different methods (although more methods can be added).
As the name implies, this script simply centers the active layer within the document, both vertically and horizontally.
This series scripts closes one or more documents without saving changes (without a prompt). Options include: all documents, only the current document, or all documents except the current one.
This script contracts a selection that touches the document boundaries on one or more sides (which isn’t possible with some versions of Photoshop).
This script distributes all selected layers horizontally, so that the layers are evenly spaced.
This script distributes all selected layers vertically, so that the layers are evenly spaced.
A simple script that hides (turns off) all layers in the active document.
A simple script that shows (turns on) all layers in the active document.
This script combines a series of images from the selected folder into a new document. All layers are named according to the file they represent.
This script simply creates a layer comp for each layer in the active document.
This script renames all layers in the active document, including those within groups. The script prompts for a layer name pattern, and then renames and numbers the layers (top to bottom, or bottom to top).
This script searches all layers by name and selects the first match.
This script sorts all layers in the active document alphanumerically (top to bottom, or bottom to top)
This script toggles the visibility of the current layer (on or off).
This event-based script displays the current document at 100% zoom (actual pixels).
Below are some scripts you will find on his site.
After downloading a script you must copy it into your Scripts folder. On a PC, the path would be:
C:Program FilesAdobePhotoshop (CS or CS2)PresetsScripts
On a MAC the path would be:
Applications> Photoshop (CS or CS2)> Presets> Scripts.
After copying a script to this folder you’ll need to Quit and then Restart Photoshop before the script appears in the File> Scripts menu.
To Run A Photoshop Script
To run a script choose File> Scripts and select the script from the list, which will include any script file that was saved with a .js or .jsx extension and saved in the Presets/Scripts folder. If you want to run a script that was saved in a different location, simply choose File> Scripts> Browse and navigate to the specific script you want to use.