Posts tagged "Scripts"

May 26, 2011

Placing Guides in the Center of a Photoshop Document

To quickly set guides in the center of any size and/or resolution Photoshop document, set the Preferences for  Units & Rulers to Percentage, show your Rulers (Command (Mac) / Control (Win) + R), and record an action dragging guides to the 50%  marks. (You can also select View > New Guide to place the guide at the 50% mark instead of dragging it out from the rulers.) Next time you need guides, simply play the action. For more information about creating actions, please see:

Basic Actions and Batch Processing

In this episode of The Complete Picture, learn how you can accomplish more in less time using actions and batch processing in PSCS3’s to streamline your workflow and minimize repetitive tasks.

Advanced Actions, Droplets and Scripts

In this episode of The Complete Picture, take automation to a new level in PSCS3 by mastering complex actions in order to turn several steps into a single click. Discover droplets, integration with LR and scripts.

4:42 AM Permalink
December 16, 2010

Open As Layer (no extension)

Based a a customer request, Thomas modified the original scrips so that it now will open an image and convert the Background into a layer and name the layer the file name – without the extension.

Installing the OpenAsLayerNoExtension.jsx script will allow you to open a file and have Photoshop CS5 automatically promote the background into a layer AND rename that layer the same as the file name (without the extension). This script works for the Open command, opening  files through Bridge and Adobe Camera Raw. Special thanks to Thomas Ruark at Adobe for creating and sharing this script!

Directions to install:

Copy the script into the Photoshop CS5 folder / Presets / Scripts / Event Scripts Only
Launch Photoshop CS5

Select File > Scripts > Script Events Manager

In the Script Events Manager dialog box:
Click to enable “Enable Events to Run Scripts/Actions:”
For Photoshop Event: use the drop down to select “Open Document”
In the Script drop down select “OpenAsLayer”
Click the Add button (it should show up in the upper list box)
Click the Done button

Open your document. In the Layers palette, the Background has been changed to a layer and renamed the document name. Note: This script will have no effect on documents that do not have a background layer.

2:11 PM Permalink
October 4, 2010

Invert Foreground Color

This JavaScript (Invert Foreground Color) inverts the foreground color in Photoshop.
To install:
1) Download and unzip the file
2) Quit Photoshop
3) Place the script in your Photoshop CS3/Presets/Scripts folder.
4) Launch Photoshop
5) Select a foreground color
6) Choose File > Script > invertForeGroundClor

Of course you can assign a keyboard shortcut to the script by selecting Edit > Keyboard Shortcuts, selecting Shortcuts For Application Menus and scrolling down to File… Scripts… InvertForeGroundColor

5:11 AM Permalink
September 21, 2010

Open, Make and Rename Layer

Installing the OpenAsLayer script will allow you to open a file and have Photoshop CS5 automatically promote the background into a layer AND rename that layer the same as the file name. (This works for the Open command, opening  files through Bridge and Adobe Camera Raw). Special thanks to Thomas Ruark at Adobe for creating and sharing this script!

Copy the script into the Photoshop CS5 folder / Presets / Scripts / Event Scripts Only
Launch Photoshop CS5

Select File > Scripts > Script Events Manager

In the Script Events Manager dialog box:
Click to enable “Enable Events to Run Scripts/Actions:”
For Photoshop Event: use the drop down to select “Open Document”
In the Script drop down select “OpenAsLayer”
Click the Add button (it should show up in the upper list box)
Click the Done button

Open your document. In the Layers palette, the Background has been changed to a layer and renamed the document name. Note: This script will have no effect on documents that do not have a background layer.

6:45 AM Permalink
September 20, 2010

Add File Name as Text Layer

If you’ve ever needed to add a text layer that contains the name of the open file here is a script to make it happen.

Download the script:  AddFileName20pt.jsx and double click to unzip the file.

Quit Photoshop.

Place the script in your Photoshop CS5/Presets/Scripts folder.

Launch Photoshop.

Open your image.

Select File > Scripts > AddFileName20pt

A word of caution, it is doubtful that the script will add the type layer at the exact size and in the exact position that you will want it. In order to make changes to the type style (size, font, color etc.), it is CRITICAL (especially if you are recording the script as part of an action) that you double click on the “Filename” type layer in the Layers palette and make changes to the type (font, size etc.) using the Options bar. Do NOT swipe the text in the image area or it will record that file’s name as part of the action and all of the following images will be named the same as the first one that you recorded!

Special thanks to Thomas Ruark at Adobe for creating this script.

6:41 AM Permalink
March 24, 2010

Export Layer Comps

In order to export all of your Layer Comps as independent files, select File > Scripts > layer Comps to Files. You can also export your layer Comps directly to Web Photo Gallery (WPG). And of course you can add a custom keyboard shortcut for either of these scripts by choosing Edit > Keyboard Shortcuts and select Shortcuts For: Application Menus.

5:33 AM Permalink
January 15, 2010

Add File Name as Layer

If you need to add the name of a file to an image as a Type layer, I have posted a script to http://www.jkost.com/photoshop.html to do this. Simply place the script in the Photoshop Applications Folder’s Presets > Scripts folder. Relaunch Photoshop and run the script it by selecting File > Scripts > AddFileName20pt. Note: if you’re using this as part of a Batch process and want to change the Type attributes, simply select the layer (not the individual type in the image area) and, in the Options bar, change the desired attribute such as font, color etc.).

5:28 AM Permalink
January 14, 2010

More Scripts

Two new scripts that I find very few users know about are available in PSCS4 to quickly work with complex multi-layer documents: Flatten All Layer Effects and Flatten All Masks. In addition, if you’re using Layer Comps, Photoshop has scripts to export: File > Scripts > Layer Comps to Files and Layer Comps to WPG.

6:26 AM Permalink
January 13, 2010

Loading Files into Stacks

When you know that you are going to want to open several files into a single document AND convert those images into a “stack”, select File > Scripts > Load Files into Stack (Extended version only). This command is very different than Opening Files into Layers as it is designed to allow working with images that need to have math applied to several images as one unit. For example, Stacks are useful when trying to eliminate noise from multiple exposures of the same scene by averaging the images (layers), or when using multiple exposures of the same scene shot with varying depth of fields so that the focus can be extended. In the Stacks dialog, browse to locate the desired files and select “Attempt to Automatically Align Source Images” (if they were not shot on a tripod) and “Create a Smart Object After Loading Layers” so that Stack Modes such as Median or Mean can be applied (Layers > Smart Objects > Stack Mode…).

6:24 AM Permalink
July 2, 2008

Video Tutorial – Advanced Automation (Actions, Droplets And Scripts)

Take automation to a new level in Photoshop CS3 by mastering complex actions in order to turn several steps into one-click. Discover droplets, integration with LR and scripts in this tutorial video (Advanced Automation (Actions, Droplets And Scripts) in Photoshop).

3:07 PM Permalink
  • CONNECT

  • CATEGORIES

  • LEGAL

    The views expressed in this blog are my own and do not necessarily reflect the views of Adobe Systems Incorporated.
    Terms of Use
  • TAG CLOUD

  • RECENT POSTS

  • ARCHIVES