Is there a way to 'click' a button in a macOS preference pane without using AppleScript?

前端 未结 0 342
盖世英雄少女心
盖世英雄少女心 2020-12-12 04:23

I figured out that I can open a specific preference pane using the following method: NSWorkspace.shared.open(URL(fileURLWithPath: "/System/Library/PreferencePanes

相关标签:
回答
  • 消灭零回复
提交回复
热议问题