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