That did it!
Thank you!

[newItem setKeyEquivalentModifierMask:SRCarbonToCocoaFlags(256)];


On 19.05.2011, at 15:45, Andy Lee wrote:

> On May 19, 2011, at 9:24 AM, Martin Batholdy wrote:
>> However 
>> [newItem setKeyEquivalentModifierMask:modifierMask];
>> has no effect  / doesn't work.
> 
> I wonder if ShortcutRecorder stores Carbon masks instead of Cocoa masks. 
> Maybe try converting with SRCarbonToCocoaFlags()?
> 
> --Andy
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to