ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$$/ScriptingSupport/Error/UserCancelled=用户取消了操作"); try {var idMkspsp = charIDToTypeID( 'Mk  ' );     var desc1100 = new ActionDescriptor();     var idNwspsp = charIDToTypeID( 'Nw  ' );     var idDcmn = charIDToTypeID( 'Dcmn' );     desc1100.putClass( idNwspsp, idDcmn ); executeAction( idMkspsp, desc1100, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$$/ScriptingSupport/Error/CommandNotAvailable=命令当前不可用"));}}