4 Replies Latest reply on Jun 1, 2010 9:31 AM by habaki1

    Hide me I'm the background

    Ghoulfool Level 1

      Looking at the scriptlistener am I to understand it's slightly more complex than one item to hide the background layer?

       

       

      var id2856 = charIDToTypeID( "Hd  " );
          var desc628 = new ActionDescriptor();
          var id2857 = charIDToTypeID( "null" );
              var list156 = new ActionList();
                  var ref481 = new ActionReference();
                  var id2858 = charIDToTypeID( "Lyr " );
                  var id2859 = charIDToTypeID( "Bckg" );
                  ref481.putProperty( id2858, id2859 );
              list156.putReference( ref481 );
          desc628.putList( id2857, list156 );
      executeAction( id2856, desc628, DialogModes.NO );