SHARE
TWEET

Untitled

a guest Jul 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var idMk = charIDToTypeID( "Mk  " );
  2.     var desc23 = new ActionDescriptor();
  3.     var idnull = charIDToTypeID( "null" );
  4.         var ref6 = new ActionReference();
  5.         var idcontentLayer = stringIDToTypeID( "contentLayer" );
  6.         ref6.putClass( idcontentLayer );
  7.     desc23.putReference( idnull, ref6 );
  8.     var idUsng = charIDToTypeID( "Usng" );
  9.         var desc24 = new ActionDescriptor();
  10.         var idType = charIDToTypeID( "Type" );
  11.             var desc25 = new ActionDescriptor();
  12.             var idClr = charIDToTypeID( "Clr " );
  13.                 var desc26 = new ActionDescriptor();
  14.                 var idRd = charIDToTypeID( "Rd  " );
  15.                 desc26.putDouble( idRd, 255.000000 );
  16.                 var idGrn = charIDToTypeID( "Grn " );
  17.                 desc26.putDouble( idGrn, 255.000000 );
  18.                 var idBl = charIDToTypeID( "Bl  " );
  19.                 desc26.putDouble( idBl, 255.000000 );
  20.             var idRGBC = charIDToTypeID( "RGBC" );
  21.             desc25.putObject( idClr, idRGBC, desc26 );
  22.         var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
  23.         desc24.putObject( idType, idsolidColorLayer, desc25 );
  24.     var idcontentLayer = stringIDToTypeID( "contentLayer" );
  25.     desc23.putObject( idUsng, idcontentLayer, desc24 );
  26. executeAction( idMk, desc23, DialogModes.NO );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top