I was looking for a way to change the hotkeys on OSX.
LTSpice IV on OSX keeps these in the dialog definition files (which are also PLIST files), e.g.
/Applications/LTspice.app/Contents/Resources/ASCdocument.nib. Note that each dialog has its own menus with separate definitions of the same hotkeys.
If you dump these using
plutil -p, you can see sections like this:
61 => {
"$class" => <CFKeyedArchiverUID 0x7fd21ec07c30 [0x7fff92f098f0]>{value = 20}
"NSKeyEquiv" => <CFKeyedArchiverUID 0x7fd21ec09e20 [0x7fff92f098f0]>{value = 63}
"NSMenu" => <CFKeyedArchiverUID 0x7fd21ec098e0 [0x7fff92f098f0]>{value = 56}
"NSMixedImage" => <CFKeyedArchiverUID 0x7fd21ec07c90 [0x7fff92f098f0]>{value = 18}
"NSMnemonicLoc" => 2147483647
"NSOnImage" => <CFKeyedArchiverUID 0x7fd21ec07c50 [0x7fff92f098f0]>{value = 14}
"NSTitle" => <CFKeyedArchiverUID 0x7fd21ec09e40 [0x7fff92f098f0]>{value = 62}
}
62 => " Drag"
63 => ""
61 is the key into the PLIST dictionary for the Drag item in the context menu of the ASC (schematic) dialog.
The value in this entry includes NSTitle (value 62) and NsKeyEquiv (value 63) - and NSKeyEquiv indicates a hot key.
Key 61 does not include NSKeyEquivModMask, which would set a key modifier mask (e.g. 1048576 means "Command", 131072 means Shift-Command).
62 is the key for the label of the Drag button.
63 (the value of NSKeyEquiv) is the key for the Unicode code point that corresponds to the hot key.
Key 63 contains the Unicode code point F70B (expressed in UTF-8 as "ef 9c 8b"), which is in a "private use" space in Unicode. This must correspond to the F8 key. I have been looking in the OSX development resources to find out how the conversion from the Event.h keycode 0x64 gets converted to F70B.
But for what it's worth, this is how and where to change the OSX hot keys for LTSpice. If someone gets further with it, please post here!