I need to open the network-prefpane in my App. This works fine with
[[NSWorkspace sharedWorkspace] openFile:@"/Path/To/PrefPane"];
But how can i directly open the “proxy-settings”, which is in the “network-pref” under “advanced”?
You can see this in the Safari-Settings under “Advanced->Proxies”
Thanks
The easiest and cleanest way I’ve found is to use Applescript.
Replace com.apple.preference.universalaccess with the name of the pane. Here is a full list of preference pane names.