Help with getting values of Hue Sat layer?


hi,

 

so using following script create new hue sat adjustment layer , ask settings. problem want set 1 , apply exact same adjustments several other images in batch , cannont find variable info stored?

 

this code;

 

 var idmk = charidtotypeid( "mk  " );     var desc593 = new actiondescriptor();     var idnull = charidtotypeid( "null" );         var ref427 = new actionreference();         var idadjl = charidtotypeid( "adjl" );         ref427.putclass( idadjl );     desc593.putreference( idnull, ref427 );     var idusng = charidtotypeid( "usng" );         var desc594 = new actiondescriptor();         var idtype = charidtotypeid( "type" );             var desc595 = new actiondescriptor();             var idpresetkind = stringidtotypeid( "presetkind" );             var idpresetkindtype = stringidtotypeid( "presetkindtype" );             var idpresetkinddefault = stringidtotypeid( "presetkinddefault" );             desc595.putenumerated( idpresetkind, idpresetkindtype, idpresetkinddefault );             var idclrz = charidtotypeid( "clrz" );             desc595.putboolean( idclrz, false );         var idhstr = charidtotypeid( "hstr" );         desc594.putobject( idtype, idhstr, desc595 );     var idadjl = charidtotypeid( "adjl" );     desc593.putobject( idusng, idadjl, desc594 ); executeaction( idmk, desc593, dialogmodes.all ); 

 

 

i using photoshop cs5 on windows.

 

alternatively if easier same thing vibrance layer has 2 possible inputs make that.

 

any apperciated!

 

thanks,

 

mark

if want use settings later create new adjustment layer can use same techinque showed in post saving levels adjustment settings. is: store descriptor returned first executeaction user enters settings , use descriptor later in new executeaction.



More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support