Would resetting the current tool options work: (javascript) // ======================================================= var id6 = charIDToTypeID( "Rset" ); var desc3 = new ActionDescriptor(); var id7 = charIDToTypeID( "null" ); var ref2 = new ActionReference(); var id8 = charIDToTypeID( "Prpr" ); var id9 = charIDToTypeID( "CrnT" ); ref2.putProperty( id8, id9 ); var id10 = charIDToTypeID( "capp" ); var id11 = charIDToTypeID( "Ordn" ); var id12 = charIDToTypeID( "Trgt" ); ref2.putEnumerated( id10, id11, id12 ); desc3.putReference( id7, ref2 ); executeAction( id6, desc3, DialogModes.NO );
... View more