You could use the defaults command on ~/Library/Preferences/com.apple.symbolichotkeys.plist. The file's structor seems a bit overly complex, but:* 131072: Shift 262144: Control 524288: Option 1048576: Command Add modifier values together in the 3rd parameter to combine them. { AppleSymbolicHotKeys = { # Move focus to the menu bar - Control, F2 7 = { enabled = 1; value = { parameters = ( 65535, 120
![Is there a way to set an Application Shortcut in the Keyboard Preference Pane via Terminal?](https://cdn-ak-scissors.b.st-hatena.com/image/square/f105dec0822bf4ed8289c827c3babbeba1e5174d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fapple%2FImg%2Fapple-touch-icon%402.png%3Fv%3Db514451ec60c)