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.
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 CS2+
Download the script and copy it into your "
Adobe Photoshop CS#/Presets/Scripts" folder.
After restarting Photoshop, the script should appear in themenu.
Tip: Did you know that you can use the 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.command (
If you use this script and find it useful, please consider supporting this site. Also, if need a custom script developed, contact me with the details and I'd be happy to provide you with a free estimate.