Skip to main content
Participant
October 17, 2019
Question

Is it possible to change Layer 0 to the old Background permanently in Photoshop CC?

  • October 17, 2019
  • 7 replies
  • 2295 views

Hi.  I have a lot of purchased actions from when I was using CS4.

The problem is they won't work because many commands use 'Background' for the base layer not Layer 0.

Is it possible to change to default name for Layer 0?

This topic has been closed for replies.

7 replies

D Fosse
Community Expert
Community Expert
October 17, 2019

Right. So long as the OP understands that "Background" (an actual flat background layer) is not the same as "Background" (a renamed floating layer).

rob day
Community Expert
Community Expert
October 17, 2019

You can use the name Background on a transparent layer (or layers), so a simple action step on the bottom layer should work.

 

Bojan Živković11378569
Community Expert
Community Expert
October 17, 2019

Thee are many possible solutions for your problem. How you are getting Layer 0 in your document? By converting Background layer to normal? Record action for that job and to rename it to Background autmaticaly or record action to rename bottom most layer to Background and actions should work. By the way, you can set up Script Events Manager to automatically reame bottom most layer to Background or to convert it to Background for what you need to record action which will play on event Open Document. 

There are and other solutions to change / modify actions but that will require more time and effort.

c.pfaffenbichler
Community Expert
Community Expert
October 17, 2019

Why do you not use a Background Layer in your files, by the way? 

greless
Inspiring
October 17, 2019

backgroundLayer to normal:

 

 try {
        var d = new ActionDescriptor();
        var r = new ActionReference();
        r.putProperty(stringIDToTypeID("layer"), stringIDToTypeID("background"));
        d.putReference(stringIDToTypeID("null"), r);
        var d1 = new ActionDescriptor();
        d.putObject(stringIDToTypeID("to"), stringIDToTypeID("layer"), d1);   
        executeAction(stringIDToTypeID("set"), d, DialogModes.NO);
        }
    catch (e) {   alert(e);  }

 

 

normal to background:

 

 var d = new ActionDescriptor();
        var r = new ActionReference();
        r.putClass(stringIDToTypeID("backgroundLayer"));
        d.putReference(stringIDToTypeID("null"), r);
        var r1 = new ActionReference();
        r1.putEnumerated(stringIDToTypeID("layer"), stringIDToTypeID("ordinal"), stringIDToTypeID("targetEnum"));
        d.putReference(stringIDToTypeID("using"), r1);
        executeAction(stringIDToTypeID("make"), d, DialogModes.NO);

 

 

Chuck Uebele
Community Expert
Community Expert
October 17, 2019

No the name can't be changes, and it's not just a name, the background layer is very different than a normal layer and it will make actions and scripts work differently depending if it exists or not. Most actions use the layer's name as a reference, so you might be able to edit the action by double clicking on the step you want to change. You can then re-record that step.

c.pfaffenbichler
Community Expert
Community Expert
October 17, 2019

You can change a Layer to a Background Layer (unless it already exists) via Layer > New > Background From Layer.