Platforms to show: All Mac Windows Linux Cross-Platform

OpenMacOSXPreferencesPaneMBS(name as string) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method System MBS MacOSX Plugin 2.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Opens a named preference pane on Mac OS X.
Example
dim e as Integer
e=OpenMacOSXPreferencesPaneMBS("Network")

Returns a Mac OS X error code. For example -43 if file not found, -1 if function is not available or 0 if successfull.

Possible values for Mac OS X:
UniversalAccessPref
StartupDisk
Speech
Sound
Network
MyAccount
Mouse
LoginItems
Localization
Keyboard
Internet
Ink
General
EnergySaver
DigiHubDiscs
DesktopPictures
Dock
ColorSync
QuickTime
Classic
Bluetooth
ARDPref
DateAndTime
Accounts
Displays
SoftwareUpdate
SharingPref
ScreenSaver

See content of /System/Library/PreferencePanes/ folder.

In MacOS 10.10 or newer, better use URL schemes:
https://www.mbsplugins.de/archive/2020-04-05/MacOS_System_Preference_Links

Some examples using this global method:

Some FAQ entries about this method:

Blog Entries

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...