How to print key character code in OSX?

562 views Asked by At

I learned from somewhere that I can reset keybindings of keyboard in OSX. like:

{
    "\UF72C"  = "moveToBeginningOfLine:";
}

I used a keycode of up key to test and it works well. Now I want to bind another key but I don't know the character code of the key, so is there a script or some other code I can use to display the character code of any key I pressed?

1

There are 1 answers

0
Jean-Baptiste Yunès On BEST ANSWER

There was an utility called keycode on the store...