Is there a programmatic way to launch the system settings on Mac and have it focus on the sound pane?
If so, is there a programmatic way to have it default on the "Output" tab?
To change System Preferences on your Mac, click the System Preferences icon in the Dock or choose Apple menu > System Preferences.
Use General preferences in Terminal to change the default window settings and the type of shell that's used when a new window is opened in Terminal. To change these preferences in the Terminal app on your Mac, choose Terminal > Preferences, then click General. Choose the initial window configuration.
Within the Display tab, you'll see an image representing your display (or the closest Apple equivalent), Resolution options, a Brightness slider, and some other settings that are determined by your hardware set-up.
There is an easier way:
NSURL * url = [NSURL fileURLWithPath:@"/System/Library/PreferencePanes/Speech.prefPane"];
[[NSWorkspace sharedWorkspace] openURL:url];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With