JS Scripting content-aware fill?
is possible? there no mention of content-aware fill in js scripting reference 5 + 6.
when there nothing in scripting guides think of scritlistener plugin , action manager code records,
// =======================================================
var idfl = charidtotypeid( "fl " );
var desc12 = new actiondescriptor();
var idusng = charidtotypeid( "usng" );
var idflcn = charidtotypeid( "flcn" );
var idcontentaware = stringidtotypeid( "contentaware" );
desc12.putenumerated( idusng, idflcn, idcontentaware );
var idopct = charidtotypeid( "opct" );
var idprc = charidtotypeid( "#prc" );
desc12.putunitdouble( idopct, idprc, 100.000000 );
var idmd = charidtotypeid( "md " );
var idblnm = charidtotypeid( "blnm" );
var idnrml = charidtotypeid( "nrml" );
desc12.putenumerated( idmd, idblnm, idnrml );
executeaction( idfl, desc12, dialogmodes.no );
More discussions in Photoshop Scripting
adobe
Comments
Post a Comment