ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$$/ScriptingSupport/Error/UserCancelled=用户取消了操作"); try {var idFlip = charIDToTypeID( 'Flip' );     var desc1052 = new ActionDescriptor();     var idAxis = charIDToTypeID( 'Axis' );     var idOrnt = charIDToTypeID( 'Ornt' );     var idVrtc = charIDToTypeID( 'Vrtc' );     desc1052.putEnumerated( idAxis, idOrnt, idVrtc ); executeAction( idFlip, desc1052, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$$/ScriptingSupport/Error/CommandNotAvailable=该命令当前不可用"));}}