Photoshop Scripts

Automate your creative workflow

Contract Canvas Selection

This script contracts a selection that touches the document boundaries on one or more sides.

Note: This script is most useful for Photoshop CS2 and CS4 (and higher); it's less useful for Photoshop CS3, since that version allows you to contract selections that touch the canvas boundaries.


Download

To download this script, right-click (Ctrl-click on the Mac) on the appropriate version below, and choose "Save Target As".

Contract Canvas Selection
Version: 2.0.0 (July 9, 2009)
Download for: Photoshop Script Photoshop CS2+

Installation

Download the script and copy it into your "Adobe Photoshop CS#/Presets/Scripts" folder.

After restarting Photoshop, the script should appear in the File » Scripts menu.

For more detailed instructions, see the Installing Scripts section of the Scripting Photoshop, Part 1 tutorial.

Tip: Did you know that you can use the Edit » Keyboard Shortcuts command (Ctrl/Cmd+Alt/Opt+Shift+K) to assign keyboard shortcuts to your scripts? You can also record scripts within actions and then assign function keys to the actions.
Free script
Share this page:

Custom Scripts

Do you need a script to automate your repetitive workflow?
Contact us with the details, and we’ll provide you with a free estimate.

Request Custom Script