$._ext_BTNLASSO={
    run : function() {
// lasso
ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idslct = charIDToTypeID( 'slct' );     var desc72 = new ActionDescriptor();     var idnull = charIDToTypeID( 'null' );         var ref72 = new ActionReference();         var idlassoTool = stringIDToTypeID( 'lassoTool' );         ref72.putClass( idlassoTool );     desc72.putReference( idnull, ref72 ); executeAction( idslct, desc72, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};

$._ext_BTNBRUSH={
    run : function() {
// brush

ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idslct = charIDToTypeID( 'slct' );     var desc92 = new ActionDescriptor();     var idnull = charIDToTypeID( 'null' );         var ref92 = new ActionReference();         var idPbTl = charIDToTypeID( 'PbTl' );         ref92.putClass( idPbTl );     desc92.putReference( idnull, ref92 ); executeAction( idslct, desc92, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};

$._ext_BTNRESET={
    run : function() {
// reset swatches

ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idRset = charIDToTypeID( 'Rset' );    var desc2 = new ActionDescriptor();    var idnull = charIDToTypeID( 'null' );        var ref2 = new ActionReference();        var idClr = charIDToTypeID( 'Clr ' );        var idClrs = charIDToTypeID( 'Clrs' );        ref2.putProperty( idClr, idClrs );    desc2.putReference( idnull, ref2 );executeAction( idRset, desc2, DialogModes.NO );} catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};

$._ext_BTNSWITCH={
    run : function() {
// switch swatches

ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idExch = charIDToTypeID( 'Exch' );    var desc3 = new ActionDescriptor();    var idnull = charIDToTypeID( 'null' );        var ref3 = new ActionReference();        var idClr = charIDToTypeID( 'Clr ' );        var idClrs = charIDToTypeID( 'Clrs' );        ref3.putProperty( idClr, idClrs );    desc3.putReference( idnull, ref3 );executeAction( idExch, desc3, DialogModes.NO );} catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};

$._ext_BTNSPOT={
    run : function() {
// spot healing brush

ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idslct = charIDToTypeID( 'slct' );     var desc87 = new ActionDescriptor();     var idnull = charIDToTypeID( 'null' );         var ref87 = new ActionReference();         var idspotHealingBrushTool = stringIDToTypeID( 'spotHealingBrushTool' );         ref87.putClass( idspotHealingBrushTool );     desc87.putReference( idnull, ref87 ); executeAction( idslct, desc87, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};

$._ext_BTNPATCH={
    run : function() {
// patch
ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idslct = charIDToTypeID( 'slct' );     var desc89 = new ActionDescriptor();     var idnull = charIDToTypeID( 'null' );         var ref89 = new ActionReference();         var idpatchSelection = stringIDToTypeID( 'patchSelection' );         ref89.putClass( idpatchSelection );     desc89.putReference( idnull, ref89 ); executeAction( idslct, desc89, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}
    },
};