ErrStrs = {}; ErrStrs.USER_CANCELLED=localize("$$$/ScriptingSupport/Error/UserCancelled=User cancelled the operation"); try {var idCnvM = charIDToTypeID( 'CnvM' );     var desc860 = new ActionDescriptor();     var idTspspsp = charIDToTypeID( 'T   ' );     var idLbCM = charIDToTypeID( 'LbCM' );     desc860.putClass( idTspspsp, idLbCM ); executeAction( idCnvM, desc860, DialogModes.ALL ); } catch(e){if (e.toString().indexOf(ErrStrs.USER_CANCELLED)!=-1) {;} else{alert(localize("$$$/ScriptingSupport/Error/CommandNotAvailable=The command is currently not available"));}}