ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$$/ScriptingSupport/Error/UserCancelled=用户取消了操作"); try {var idCnvM = charIDToTypeID( 'CnvM' );     var desc862 = new ActionDescriptor();     var idTspspsp = charIDToTypeID( 'T   ' );     var idRGBM = charIDToTypeID( 'RGBM' );     desc862.putClass( idTspspsp, idRGBM ); executeAction( idCnvM, desc862, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$$/ScriptingSupport/Error/CommandNotAvailable=该命令当前不可用"));}}