How can I convert a key code, such as kVK_ANSI_1 into a string that I can pass to setKeyEquivalent (so for kVK_ANSI_1, I\'d get
kVK_ANSI_1
setKeyEquivalent
UCKeyTranslate is probably what you are after https://developer.apple.com/library/mac/#documentation/Carbon/Reference/Unicode_Utilities_Ref/Reference/reference.html