28 Replies Latest reply on Aug 19, 2018 2:42 AM by Kukurykus

    Weird layer-renaming issue.

    Silly-V Adobe Community Professional

      On Win7, PS 19.0 I am encountering a strange issue with renaming layers.


      It boils down to these steps:

      1. start a fresh PS
      2. Rename a layer manually works just fine.
      3. Run a layer-making script
      4. Now, renaming layers manually is nearly impossible: you double-click the desired layer to enable editable layer name text, but only have 1 second to type in the entire input before it automatically sets.


      What's worse, after this the layer issue persists even in new documents, all the way until app restart.


      This is my layer-making script:


      #target photoshop

      function test(){

        var doc = app.activeDocument;

        var arr = [

          "Name 1",

          "Name 2"


        var newLayer;

        for(var i = 0; i < arr.length;  i++){

          newLayer = doc.artLayers.add();

          newLayer.name = arr[i];





      Has anyone come across this?