Programmatically get / set Mac OSX as default for system keyboard

I’m trying to find a way to programmatically get / install the standard OSX keyboard shortcuts (keyboard shortcuts) on the tab “System Preferences” → “Keyboard” and “Mouse →“ Keyboard Shortcuts. ”I need to do this in the background, so the GUI is not a solution .

I cannot find a plist or anything where this information can be stored. I tried using the "File Activity" trace when using the "System Preferences", but reappeared empty-handed.

Any help is appreciated.

+1
source share
2

API (, ).

+1

Ooop, , , .

, ~/Library/Preferences/com.apple.symbolichotkeys.plist . , , .

+2

Source: https://habr.com/ru/post/1708380/


All Articles