Photoshop > Scripts > Invert Selected Layers

As the name implies, this script inverts the selected layer (i.e., deselects the selected layers, and selects the unselected layers). It's hard to believe this isn't already a native Photoshop command!


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

Invert Selected Layers
Version: 0.2.0 (August 26, 2016)
Requires: Photoshop CS3+
Downloads: ZIP Archive ZIP


Download the script(s), and copy it into your "Adobe Photoshop ##/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.


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.