Photoshop > Scripts > Import Folder As Layers

This script combines a series of images from the selected folder into a new document. All layers are named according to the file they represent. The script handles various formats, color modes, and bit-depths, and even preserves transparency.

Note: This script also contains user-customizable variables (near the top of the script) for removing file extensions (on by default), displaying a save prompt upon completion (off by default), and closing after save (off by default).

Download

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

Import Folder As Layers
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.

 

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.