Get the area of interest of a layer


hi all,

does method exist area of interest of layer ?

in ui, it's possible cmd+clicking on layer.

 

regards

thanks.

 

pierre raffa.

ctrl|cmd+ clicking on layer in layers palette loads|select layers transparency far know has nothing area of intrest.  think has more content , eye of observer.  if else fails scriptlistener may record ctrl|cmd+ clicking on layer in layers palette.

 

 

// =======================================================

var idsetd = charidtotypeid( "setd" );

    var desc21 = new actiondescriptor();

    var idnull = charidtotypeid( "null" );

        var ref10 = new actionreference();

        var idchnl = charidtotypeid( "chnl" );

        var idfsel = charidtotypeid( "fsel" );

        ref10.putproperty( idchnl, idfsel );

    desc21.putreference( idnull, ref10 );

    var idt = charidtotypeid( "t   " );

        var ref11 = new actionreference();

        var idchnl = charidtotypeid( "chnl" );

        var idchnl = charidtotypeid( "chnl" );

        var idtrsp = charidtotypeid( "trsp" );

        ref11.putenumerated( idchnl, idchnl, idtrsp );

    desc21.putreference( idt, ref11 );

executeaction( idsetd, desc21, dialogmodes.no );

 



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support