by Julieanne Kost

 Comments (9)

Created

December 16, 2010

Based a a customer request, Thomas modified the original scrips so that it now will open an image and convert the Background into a layer and name the layer the file name – without the extension.

Installing the OpenAsLayerNoExtension.jsx 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 (without the extension). This script 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!

Directions to install:

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.

COMMENTS

  • By Vicki DeVico - 2:54 PM on December 16, 2010  

    Julieanne, this is great! Thanks for the detailed steps to set it up.

  • By Michele - 2:54 PM on December 16, 2010  

    Yeehaa – another step in my process that is automated!

    Thanks Thomas and Julieanne, it works a treat!

  • By Joe Pellicone - 4:14 PM on December 16, 2010  

    Is there a way to make a shortcut key in LIGHTROOM to open the selected photos into layers in PS CS5 ???

    • By Julieanne Kost - 4:22 PM on December 16, 2010  

      If you have multiple images selected in LR in the Grid view, Control (Mac) / right mouse (Win) -click on one of the images and select Edit In > Open as Layers in Photoshop. That will open all selected files in LR into one single PS file (each image on it’s own layer).

  • By ralph sanders - 11:45 AM on December 17, 2010  

    will it work in cs4? please?

  • By gh - 12:04 PM on December 28, 2010  

    Does this script work when opening files from Lightroom 3.3 into Photoshop CS5 via Control (Mac) / right mouse (Win) -click on one of the images and select Edit In > Open as Layers in Photoshop and also Control (Mac) / right mouse (Win) -click on one of the images and select Edit In > Edit in Adobe Photoshop CS5. Or is it limited to “This script works for the Open command, opening files through Bridge and Adobe Camera Raw”.

  • By Julieanne Kost - 1:50 PM on January 4, 2011  

    Unfortunately the script only works when opening from Bridge and Adobe Camera Raw.

  • By Dan - 6:09 AM on October 27, 2011  

    I had this installed and it works great!! But it seems to be adding about 100 mb to my H4d 50 files. Any reason you know why this would be happening?

    • By Julieanne Kost - 8:03 PM on October 30, 2011  

      My guess is that it’s because you are now saving a layered Photoshop file as oppose to a flat (non-layered) file…