title: Cocoa: setting the key equivalent
body: <p>i want to set the key equivalent of a menuitem with [menuitem setKeyEquivalent:(NSString *)s],
   how can i do that if i have multiple modifiers ?</p>
  
  <p>i tried:</p>
  
  <pre><code>unichar shift = NSShiftKeyMask, cmd = NSCommandKeyMask;
  NSMutableString *keyequiv = [[NSMutableString alloc] init];
  
  [keyequiv appendString:[NSString stringWithCharacter:&amp;shift, 1]];
  [keyequiv appendString:[NSString stringWithCharacter:&amp;cmd, 1]];
  [keyequiv appendString:@"x"];
  [menuItem setKeyEquivalent:keyequivalent];
  </code></pre>
  
  <p>but that doesnt work.</p>