ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$$/ScriptingSupport/Error/UserCancelled=用户取消了操作"); try {var idslct = charIDToTypeID( 'slct' );     var desc842 = new ActionDescriptor();     var idnull = charIDToTypeID( 'null' );         var ref712 = new ActionReference();         var idMnspsp = charIDToTypeID( 'Mn  ' );         var idMnIt = charIDToTypeID( 'MnIt' );         var idAplI = charIDToTypeID( 'AplI' );         ref712.putEnumerated( idMnspsp, idMnIt, idAplI );     desc842.putReference( idnull, ref712 ); executeAction( idslct, desc842, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$$/ScriptingSupport/Error/CommandNotAvailable=命令当前不可用"));}}