Posts tagged "Automation"

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 23, 2010

Toggling Commands and Modal Dialog Box Controls On and Off

There are two columns to the left of recorded actions/commands in the Actions panel. The first column controls if the command in the action is to be played or skipped – when on, a check is displayed, when off, it’s an empty well. The second column determines if a “modal” dialog box will be displayed when the command is played – when on, a small dialog box icon is displayed, when off, it’s an empty well. Note: commands that do not display a dialog box are blank in the second column.

Option (Mac) / Alt (Win) -clicking on either of these two column’s icons (the check, the modal dialog box or the empty well) will toggle on or off all of the other commands/modal controls. Note that this shortcut works on other panels as well. For example, Option (Mac)/ Alt (Win) -clicking the eye icon in the Layers panel toggles the visibility of all other layers.

5:31 AM Permalink
September 22, 2010

Changing the Setting in a Recorded Command

To change the settings recorded in an action,  double click on the command in the action and modify as needed.

5:53 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
September 13, 2010

Video Tutorial – The Top 10 ways to Automate Lightroom (Part 1)

In part 1 of this 2-part episode I will demonstrate how streamline Lightroom 3 by taking advantage of presets, templates, collections, virtual copies (and more) in order to eliminate much of the repetitive post-capture tasks such as importing, tagging, developing, exporting and sharing photographs. Watch the video here…

8:32 PM 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
March 5, 2010

Renaming in Panels

If you choose to view your swatches (or styles) as a list, you can double click on the name of the swatch to rename it (this is true for any panel that displays it’s items as lists (Actions, Layer Comps etc.).

6:24 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
January 12, 2010

Opening Files into Layers

When you know that you are going to want to open several files into a single document, it is easiest to select the desired files from Bridge and then choose Tools > Photoshop > Load Files into Photoshop Layers. This opens all files and deposits then into a single Photoshop file.

5:22 AM Permalink
January 11, 2010

Image Processor

If you need to save a number of images to a different different format (PSD, TIF and/or JPEG), Photoshop has a feature called Image Processor. Although you can find it under File > Scripts > Image Processor, this method requires that you select a folder of images. If you prefer to only convert a selection of images, begin by selecting the desired images in Bridge and then choose Tools > Photoshop Image Processor (note that you can also select all of the images in a folder (or collection) using this method by not selecting any files (if no files are selected, Bridge will assume that you want to process all of them). In the Image Processor dialog box, choose a destination folder, and a File Type (or types, you can process files to multiple formats at once) with any additional options such as Resize to Fit and Compression etc.. You can even choose to run an action after Image Processor batch converts the files. Of course all of this can be done through actions, but Image Processor is a simple and powerful way to quickly convert images without having to know how to create Actions and run the Batch command.

5:51 AM Permalink
August 28, 2009

Improving Batch Processing Performance

To improve batch processing performance, in the History panel,select History Options from the fly-out menu and deselect Automatically Create First Snapshot. Depending on the length of your action, you might also want to reduce the number History States in the Preferences > Performance panel. Just don’t forget to increase the number of states when you finished batch processing!

5:02 AM Permalink
August 27, 2009

The Batch Command

The Batch command can be recorded as part of an action to perform multiple batches in sequence. In addition, you can batch process multiple folders without reorganizing them on the hard drive – simply create aliases within a folder to the other folders you want to process, and select the Include All Subfolders option in the Batch command dialog box (or use a droplet).

4:59 AM Permalink