Skip to content

Instantly share code, notes, and snippets.

@GitHeld
Forked from rmcdongit/macOS_SytemPrefs.md
Created October 22, 2023 17:39
Show Gist options
  • Save GitHeld/23d54770cfe6626783f6172dbd5b2020 to your computer and use it in GitHub Desktop.
Save GitHeld/23d54770cfe6626783f6172dbd5b2020 to your computer and use it in GitHub Desktop.

Revisions

  1. @rmcdongit rmcdongit revised this gist Mar 29, 2020. No changes.
  2. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Below are a list of System Preference pane URLs and paths that can be accessed w

    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

    ```
    ```bash
    tell application "System Preferences"
    set CurrentPane to the id of the current pane
    set the clipboard to CurrentPane
  3. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Below are a list of System Preference pane URLs and paths that can be accessed w

    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

    ```bash
    ```
    tell application "System Preferences"
    set CurrentPane to the id of the current pane
    set the clipboard to CurrentPane
  4. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -228,28 +228,28 @@ com.apple.preference.security
    com.apple.preferences.sharing
    /System/Library/PreferencePanes/SharingPref.prefPane
    ```
    __Screen Sharing__
    - __Screen Sharing__
    `com.apple.preferences.sharing?Services_ScreenSharing`

    __File Sharing__
    - __File Sharing__
    `com.apple.preferences.sharing?Services_PersonalFileSharing`

    __Printer Sharing__
    - __Printer Sharing__
    `com.apple.preferences.sharing?Services_PrinterSharing`

    __Remote Login__
    - __Remote Login__
    `com.apple.preferences.sharing?Services_RemoteLogin`

    __Remote Management__
    - __Remote Management__
    `com.apple.preferences.sharing?Services_ARDService`

    __Remote Apple Events__
    - __Remote Apple Events__
    `com.apple.preferences.sharing?Services_RemoteAppleEvent`

    __Internet Sharing__
    - __Internet Sharing__
    `com.apple.preferences.sharing?Internet`

    __Bluetooth Sharing__
    - __Bluetooth Sharing__
    `com.apple.preferences.sharing?Services_BluetoothSharing`

    ### Time Machine Pane
  5. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -204,7 +204,8 @@ com.apple.preference.security
    ```
    ### Keyboard Pane
    `/System/Library/PreferencePanes/Keyboard.prefPane`
    __Dictation__

    - __Dictation__
    `com.apple.preference.speech?Dictation`

    ### Trackpad Pane
  6. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 30 additions and 30 deletions.
    60 changes: 30 additions & 30 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -78,31 +78,31 @@ com.apple.preference.universalaccess
    - __Display__
    `com.apple.preference.universalaccess?Seeing_Display`

    __Zoom__
    - __Zoom__
    `com.apple.preference.universalaccess?Seeing_Zoom`

    __VoiceOver__
    - __VoiceOver__
    `com.apple.preference.universalaccess?Seeing_VoiceOver`

    __Descriptions__
    - __Descriptions__
    `com.apple.preference.universalaccess?Media_Descriptions`

    __Captions__
    - __Captions__
    `com.apple.preference.universalaccess?Captioning`

    __Audio__
    - __Audio__
    `com.apple.preference.universalaccess?Hearing`

    __Keyboard__
    - __Keyboard__
    `com.apple.preference.universalaccess?Keyboard`

    __Mouse & Trackpad__
    - __Mouse & Trackpad__
    `com.apple.preference.universalaccess?Mouse`

    __Switch Control__
    - __Switch Control__
    `com.apple.preference.universalaccess?Switch`

    __Dictation__
    - __Dictation__
    `com.apple.preference.universalaccess?SpeakableItems`

    ### Screen Time
    @@ -123,66 +123,66 @@ com.apple.preference.screentime
    com.apple.preference.security
    /System/Library/PreferencePanes/Security.prefPane
    ```
    __General__
    - __General__
    `com.apple.preference.security?General`

    __Advanced__
    - __Advanced__
    `com.apple.preference.security?Advanced`

    __FileVault__
    - __FileVault__
    `com.apple.preference.security?FDE`

    __Firewall__
    - __Firewall__
    `com.apple.preference.security?Firewall`

    __Privacy Main__
    - __Privacy Main__
    `com.apple.preference.security?Privacy`

    #### Privacy Anchors

    __Location Services__
    - __Location Services__
    `com.apple.preference.security?Privacy_LocationServices`

    __Contacts__
    - __Contacts__
    `com.apple.preference.security?Privacy_Contacts`

    __Calendars__
    - __Calendars__
    `com.apple.preference.security?Privacy_Calendars`

    __Reminders__
    - __Reminders__
    `com.apple.preference.security?Privacy_Reminders`

    __Photos__
    - __Photos__
    `com.apple.preference.security?Privacy_Photos`

    __Camera__
    - __Camera__
    `com.apple.preference.security?Privacy_Camera`

    __Microphone__
    - __Microphone__
    `com.apple.preference.security?Privacy_Microphone`

    __Speech Recognition__
    - __Speech Recognition__
    `com.apple.preference.security?Privacy_SpeechRecognition`

    __Accessibility__
    - __Accessibility__
    `com.apple.preference.security?Privacy_Accessibility`

    __Input Monitoring__ Not Available
    - __Input Monitoring__ Not Available

    __Full Disk Access__
    - __Full Disk Access__
    `com.apple.preference.security?Privacy_AllFiles`

    __Files and Folders__ Not Available
    - __Files and Folders__ Not Available

    __Screen Recording__ Not Available
    - __Screen Recording__ Not Available

    __Automation__
    - __Automation__
    `com.apple.preference.security?Privacy_Automation`

    __Analytics and Improvements__
    - __Analytics and Improvements__
    `com.apple.preference.security?Privacy_Diagnostics`

    __Advertising__
    - __Advertising__
    `com.apple.preference.security?Privacy_Advertising`

    ### Software Update Pane
  7. @rmcdongit rmcdongit revised this gist Mar 29, 2020. No changes.
  8. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -75,7 +75,7 @@ com.apple.preference.universalaccess
    /System/Library/PreferencePanes/UniversalAccessPref.prefPane
    ```

    __Display__
    - __Display__
    `com.apple.preference.universalaccess?Seeing_Display`

    __Zoom__
  9. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -116,7 +116,7 @@ com.apple.preference.screentime

    ### Security & Privacy Pane

    *Tip: The "Advanced" anchor essentially just triggers a panel unlock wherever the user may be at in the Security and Privacy pane. So, if you want them to enable a Privacy setting, open the desired Privacy anchor first (e.g. ?Privacy_Contacts) and then open the Advanced anchor (?Advanced) to prompt the user password to unlock the preference pane.*
    *Tip: The "Advanced" anchor will initially open S&P pane to your last used tab (General, FileValut, Firewall, Privacy)but if the pane is already open it triggers a the panel unlock wherever the user may be at in the Security and Privacy pane. So, if you want them to enable a specific Privacy setting, open the desired Privacy anchor first (e.g. ?Privacy_Contacts) and then open the Advanced anchor (?Advanced) to prompt the user password to unlock the preference pane.*

    #### Main Tabs
    ```
  10. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 33 additions and 33 deletions.
    66 changes: 33 additions & 33 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -28,48 +28,48 @@ open -b com.apple.systempreferences /Path/To/Pane
    # Preference Panes
    Below are all the panes that display on most Macs running 10.15 Catalina but there are a few that are ommitted that are available on later versions of Apple hardware or installed plugins. If the pane supports being opened with URL then it is listed, otherwise you can use the path.

    ## Apple ID Pane
    ### Apple ID Pane
    `/System/Library/PreferencePanes/AppleIDPrefPane.prefPane`

    ## Family Sharing Pane
    ### Family Sharing Pane
    `/System/Library/PreferencePanes/FamilySharingPrefPane.prefPane`

    ## General Pane
    ### General Pane
    `/System/Library/PreferencePanes/Appearance.prefPane`

    ## Desktop & Screen Saver Pane
    ### Desktop & Screen Saver Pane
    `/System/Library/PreferencePanes/DesktopScreenEffectsPref.prefPane`

    ## Dock Pane
    ### Dock Pane
    `/System/Library/PreferencePanes/Dock.prefPane`

    ## Mission Control Pane
    ### Mission Control Pane
    `/System/Library/PreferencePanes/Expose.prefPane`

    ## Siri Pane
    ### Siri Pane
    ```
    com.apple.preference.speech
    /System/Library/PreferencePanes/Speech.prefPane
    ```
    ## Spotlight Pane
    ### Spotlight Pane
    `/System/Library/PreferencePanes/Spotlight.prefPane`

    ## Language & Region Pane
    ### Language & Region Pane
    `/System/Library/PreferencePanes/Localization.prefPane`

    ## Notifications Pane
    ### Notifications Pane
    ```bash
    com.apple.preference.notifications
    open -b com.apple.systempreferences /System/Library/PreferencePanes/Notifications.prefPane
    ```

    ## Internet Accounts Pane
    ### Internet Accounts Pane
    `/System/Library/PreferencePanes/InternetAccounts.prefPane`

    ## Users & Groups Pane
    ### Users & Groups Pane
    `/System/Library/PreferencePanes/Accounts.prefPane`

    ## Accessibility Pane
    ### Accessibility Pane
    ```bash
    com.apple.preference.universalaccess
    /System/Library/PreferencePanes/UniversalAccessPref.prefPane
    @@ -105,20 +105,20 @@ __Switch Control__
    __Dictation__
    `com.apple.preference.universalaccess?SpeakableItems`

    ## Screen Time
    ### Screen Time
    ```bash
    com.apple.preference.screentime
    /System/Library/PreferencePanes/ScreenTime.prefPane
    ```

    ## Extensions Pane
    ### Extensions Pane
    `/System/Library/PreferencePanes/Extensions.prefPane`

    ## Security & Privacy Pane
    ### Security & Privacy Pane

    *Tip: The "Advanced" anchor essentially just triggers a panel unlock wherever the user may be at in the Security and Privacy pane. So, if you want them to enable a Privacy setting, open the desired Privacy anchor first (e.g. ?Privacy_Contacts) and then open the Advanced anchor (?Advanced) to prompt the user password to unlock the preference pane.*

    ### Main Tabs
    #### Main Tabs
    ```
    com.apple.preference.security
    /System/Library/PreferencePanes/Security.prefPane
    @@ -138,7 +138,7 @@ __Firewall__
    __Privacy Main__
    `com.apple.preference.security?Privacy`

    ### Privacy Anchors
    #### Privacy Anchors

    __Location Services__
    `com.apple.preference.security?Privacy_LocationServices`
    @@ -185,44 +185,44 @@ __Analytics and Improvements__
    __Advertising__
    `com.apple.preference.security?Privacy_Advertising`

    ## Software Update Pane
    ### Software Update Pane
    `/System/Library/PreferencePanes/SoftwareUpdate.prefPane`

    ## Network Pane
    ### Network Pane
    `/System/Library/PreferencePanes/Network.prefPane`

    ## Bluetooth Pane
    ### Bluetooth Pane
    `/System/Library/PreferencePanes/Bluetooth.prefPane`

    ## Sound Pane
    ### Sound Pane
    `/System/Library/PreferencePanes/Sound.prefPane`

    ## Printers & Scanners Pane
    ### Printers & Scanners Pane
    ```bash
    /System/Library/PreferencePanes/PrintAndFax.prefPane
    /System/Library/PreferencePanes/PrintAndScan.prefPane
    ```
    ## Keyboard Pane
    ### Keyboard Pane
    `/System/Library/PreferencePanes/Keyboard.prefPane`
    __Dictation__
    `com.apple.preference.speech?Dictation`

    ## Trackpad Pane
    ### Trackpad Pane
    `/System/Library/PreferencePanes/Trackpad.prefPane`

    ## Mouse Pane
    ### Mouse Pane
    `/System/Library/PreferencePanes/Mouse.prefPane`

    ## Displays Pane
    ### Displays Pane
    `/System/Library/PreferencePanes/Displays.prefPane`

    ## Energy Saver Pane
    ### Energy Saver Pane
    `/System/Library/PreferencePanes/EnergySaver.prefPane`

    ## Date & Time Pane
    ### Date & Time Pane
    `/System/Library/PreferencePanes/DateAndTime.prefPane`

    ## Sharing Preference Pane
    ### Sharing Preference Pane
    ```bash
    com.apple.preferences.sharing
    /System/Library/PreferencePanes/SharingPref.prefPane
    @@ -251,11 +251,11 @@ __Internet Sharing__
    __Bluetooth Sharing__
    `com.apple.preferences.sharing?Services_BluetoothSharing`

    ## Time Machine Pane
    ### Time Machine Pane
    `/System/Library/PreferencePanes/TimeMachine.prefPane`

    ## Startup Disk Pane
    ### Startup Disk Pane
    `/System/Library/PreferencePanes/StartupDisk.prefPane`

    ## Profiles Pane
    ### Profiles Pane
    `/System/Library/PreferencePanes/Profiles.prefPane`
  11. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -12,13 +12,13 @@ tell application "System Preferences"
    end tell
    ```

    ## Opening with URL Schemes
    ### Opening with URL Schemes
    If the preference pane supports it, you can open them with a URL in terminal using the following syntax (replace `<PaneID>` with the desired pane ID):

    ```bash
    open "x-apple.systempreferences:<PaneID>"
    ```
    ## Open with System Preferences Bundle Identifier and Pane Path
    ### Open with System Preferences Bundle Identifier and Pane Path
    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different syntax (replace `/Path/To/Pane` with your desired pane):

    ```bash
  12. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -19,14 +19,14 @@ If the preference pane supports it, you can open them with a URL in terminal usi
    open "x-apple.systempreferences:<PaneID>"
    ```
    ## Open with System Preferences Bundle Identifier and Pane Path
    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different sytax (replace `/Path/To/Pane` with your desired pane):
    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different syntax (replace `/Path/To/Pane` with your desired pane):

    ```bash
    open -b com.apple.systempreferences /Path/To/Pane
    ```

    # Preference Panes
    Below are all the panes that display on most Macs running 10.15 Catalina but there are a few that are ommitted that are available on later versions of Apple hardware or installed plugins.
    Below are all the panes that display on most Macs running 10.15 Catalina but there are a few that are ommitted that are available on later versions of Apple hardware or installed plugins. If the pane supports being opened with URL then it is listed, otherwise you can use the path.

    ## Apple ID Pane
    `/System/Library/PreferencePanes/AppleIDPrefPane.prefPane`
  13. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,30 +1,32 @@
    # macOS 10.15 System Preference Panes

    Below are a list of System Preference pane URL Schemes and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.
    Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard:
    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:

    ```bash
    tell application "System Preferences"
    set CurrentPane to the id of the current pane
    set the clipboard to CurrentPane
    get the name of every anchor of current pane
    end tell
    ```

    ## URL Scheme
    To open one of these with a terminal command use the following syntax (replace `<PaneID>` with the desired pane ID):
    ## Opening with URL Schemes
    If the preference pane supports it, you can open them with a URL in terminal using the following syntax (replace `<PaneID>` with the desired pane ID):

    ```bash
    open "x-apple.systempreferences:<PaneID>"
    ```
    ## Using System Preferences Bundle Identifier and Path
    ## Open with System Preferences Bundle Identifier and Pane Path
    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different sytax (replace `/Path/To/Pane` with your desired pane):

    ```bash
    open -b com.apple.systempreferences /Path/To/Pane
    ```

    # Preference Panes
    Below are all the panes that display on most Macs running 10.15 Catalina but there are a few that are ommitted that are available on later versions of Apple hardware or installed plugins.

    ## Apple ID Pane
    `/System/Library/PreferencePanes/AppleIDPrefPane.prefPane`
  14. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 111 additions and 40 deletions.
    151 changes: 111 additions & 40 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -68,8 +68,10 @@ open -b com.apple.systempreferences /System/Library/PreferencePanes/Notification
    `/System/Library/PreferencePanes/Accounts.prefPane`

    ## Accessibility Pane

    `com.apple.preference.universalaccess`
    ```bash
    com.apple.preference.universalaccess
    /System/Library/PreferencePanes/UniversalAccessPref.prefPane
    ```

    __Display__
    `com.apple.preference.universalaccess?Seeing_Display`
    @@ -102,87 +104,156 @@ __Dictation__
    `com.apple.preference.universalaccess?SpeakableItems`

    ## Screen Time
    ```bash
    com.apple.preference.screentime
    /System/Library/PreferencePanes/ScreenTime.prefPane
    ```

    __Main__ `com.apple.preference.screentime`
    ## Extensions Pane
    `/System/Library/PreferencePanes/Extensions.prefPane`

    ## Security & Privacy Pane

    *Tip: The "Advanced" anchor essentially just triggers a panel unlock wherever the user may be at in the Security and Privacy pane. So, if you want them to enable a Privacy setting, open the desired Privacy anchor first (e.g. ?Privacy_Contacts) and then open the Advanced anchor (?Advanced) to prompt the user password to unlock the preference pane.*

    ### Main Tabs
    ```
    com.apple.preference.security
    /System/Library/PreferencePanes/Security.prefPane
    ```
    __General__
    `com.apple.preference.security?General`

    __Main Preference__ `com.apple.preference.security`
    __Advanced__
    `com.apple.preference.security?Advanced`

    __General__ `com.apple.preference.security?General`
    __FileVault__
    `com.apple.preference.security?FDE`

    __Advanced__ `com.apple.preference.security?Advanced`
    __Firewall__
    `com.apple.preference.security?Firewall`

    __FileVault__ `com.apple.preference.security?FDE`
    __Privacy Main__
    `com.apple.preference.security?Privacy`

    __Firewall__ `com.apple.preference.security?Firewall`
    ### Privacy Anchors

    __Privacy Main__ `com.apple.preference.security?Privacy`
    __Location Services__
    `com.apple.preference.security?Privacy_LocationServices`

    ### Privacy Anchors
    __Contacts__
    `com.apple.preference.security?Privacy_Contacts`

    __Location Services__ `com.apple.preference.security?Privacy_LocationServices`
    __Calendars__
    `com.apple.preference.security?Privacy_Calendars`

    __Contacts__ `com.apple.preference.security?Privacy_Contacts`
    __Reminders__
    `com.apple.preference.security?Privacy_Reminders`

    __Calendars__ `com.apple.preference.security?Privacy_Calendars`
    __Photos__
    `com.apple.preference.security?Privacy_Photos`

    __Reminders__ `com.apple.preference.security?Privacy_Reminders`
    __Camera__
    `com.apple.preference.security?Privacy_Camera`

    __Photos__ `com.apple.preference.security?Privacy_Photos`
    __Microphone__
    `com.apple.preference.security?Privacy_Microphone`

    __Camera__ `com.apple.preference.security?Privacy_Camera`
    __Speech Recognition__
    `com.apple.preference.security?Privacy_SpeechRecognition`

    __Microphone__ `com.apple.preference.security?Privacy_Microphone`
    __Accessibility__
    `com.apple.preference.security?Privacy_Accessibility`

    __Speech Recognition__ `com.apple.preference.security?Privacy_SpeechRecognition`
    __Input Monitoring__ Not Available

    __Accessibility__ `com.apple.preference.security?Privacy_Accessibility`
    __Full Disk Access__
    `com.apple.preference.security?Privacy_AllFiles`

    __Input Monitoring__ `Not Available`
    __Files and Folders__ Not Available

    __Full Disk Access__ `com.apple.preference.security?Privacy_AllFiles`
    __Screen Recording__ Not Available

    __Files and Folders__ `Not Available`
    __Automation__
    `com.apple.preference.security?Privacy_Automation`

    __Screen Recording__ `Not Available`
    __Analytics and Improvements__
    `com.apple.preference.security?Privacy_Diagnostics`

    __Automation__ `com.apple.preference.security?Privacy_Automation`
    __Advertising__
    `com.apple.preference.security?Privacy_Advertising`

    __Analytics and Improvements__ `com.apple.preference.security?Privacy_Diagnostics`
    ## Software Update Pane
    `/System/Library/PreferencePanes/SoftwareUpdate.prefPane`

    __Advertising__ `com.apple.preference.security?Privacy_Advertising`
    ## Network Pane
    `/System/Library/PreferencePanes/Network.prefPane`

    ## Dictation & Speech Preference Pane
    ## Bluetooth Pane
    `/System/Library/PreferencePanes/Bluetooth.prefPane`

    ### Main
    ## Sound Pane
    `/System/Library/PreferencePanes/Sound.prefPane`

    __Dictation__ `com.apple.preference.speech?Dictation`
    ## Printers & Scanners Pane
    ```bash
    /System/Library/PreferencePanes/PrintAndFax.prefPane
    /System/Library/PreferencePanes/PrintAndScan.prefPane
    ```
    ## Keyboard Pane
    `/System/Library/PreferencePanes/Keyboard.prefPane`
    __Dictation__
    `com.apple.preference.speech?Dictation`

    ## Trackpad Pane
    `/System/Library/PreferencePanes/Trackpad.prefPane`

    ## Mouse Pane
    `/System/Library/PreferencePanes/Mouse.prefPane`

    __Text to Speech__ `com.apple.preference.speech?TTS`
    ## Displays Pane
    `/System/Library/PreferencePanes/Displays.prefPane`

    ## Energy Saver Pane
    `/System/Library/PreferencePanes/EnergySaver.prefPane`

    ## Date & Time Pane
    `/System/Library/PreferencePanes/DateAndTime.prefPane`

    ## Sharing Preference Pane
    ```bash
    com.apple.preferences.sharing
    /System/Library/PreferencePanes/SharingPref.prefPane
    ```
    __Screen Sharing__
    `com.apple.preferences.sharing?Services_ScreenSharing`

    ### Main
    __File Sharing__
    `com.apple.preferences.sharing?Services_PersonalFileSharing`

    __Main__ `com.apple.preferences.sharing`
    __Printer Sharing__
    `com.apple.preferences.sharing?Services_PrinterSharing`

    __Screen Sharing__ `com.apple.preferences.sharing?Services_ScreenSharing`
    __Remote Login__
    `com.apple.preferences.sharing?Services_RemoteLogin`

    __File Sharing__ `com.apple.preferences.sharing?Services_PersonalFileSharing`
    __Remote Management__
    `com.apple.preferences.sharing?Services_ARDService`

    __Printer Sharing__ `com.apple.preferences.sharing?Services_PrinterSharing`
    __Remote Apple Events__
    `com.apple.preferences.sharing?Services_RemoteAppleEvent`

    __Remote Login__ `com.apple.preferences.sharing?Services_RemoteLogin`
    __Internet Sharing__
    `com.apple.preferences.sharing?Internet`

    __Remote Management__ `com.apple.preferences.sharing?Services_ARDService`
    __Bluetooth Sharing__
    `com.apple.preferences.sharing?Services_BluetoothSharing`

    __Remote Apple Events__ `com.apple.preferences.sharing?Services_RemoteAppleEvent`
    ## Time Machine Pane
    `/System/Library/PreferencePanes/TimeMachine.prefPane`

    __Internet Sharing__ `com.apple.preferences.sharing?Internet`
    ## Startup Disk Pane
    `/System/Library/PreferencePanes/StartupDisk.prefPane`

    __Bluetooth Sharing__ `com.apple.preferences.sharing?Services_BluetoothSharing`
    ## Profiles Pane
    `/System/Library/PreferencePanes/Profiles.prefPane`
  15. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 19 additions and 13 deletions.
    32 changes: 19 additions & 13 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ open -b com.apple.systempreferences /Path/To/Pane

    ## Siri Pane
    ```
    x-apple.systempreferences:com.apple.preference.speech
    com.apple.preference.speech
    /System/Library/PreferencePanes/Speech.prefPane
    ```
    ## Spotlight Pane
    @@ -57,7 +57,7 @@ x-apple.systempreferences:com.apple.preference.speech

    ## Notifications Pane
    ```bash
    x-apple.systempreferences:com.apple.preference.notifications
    com.apple.preference.notifications
    open -b com.apple.systempreferences /System/Library/PreferencePanes/Notifications.prefPane
    ```

    @@ -69,31 +69,37 @@ open -b com.apple.systempreferences /System/Library/PreferencePanes/Notification

    ## Accessibility Pane

    `x-apple.systempreferences:com.apple.preference.universalaccess`
    `com.apple.preference.universalaccess`

    __Display__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Display`
    `com.apple.preference.universalaccess?Seeing_Display`

    __Zoom__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Zoom`
    `com.apple.preference.universalaccess?Seeing_Zoom`

    __VoiceOver__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_VoiceOver`
    `com.apple.preference.universalaccess?Seeing_VoiceOver`

    __Descriptions__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Media_Descriptions`
    `com.apple.preference.universalaccess?Media_Descriptions`

    __Captions__ `x-apple.systempreferences:com.apple.preference.universalaccess?Captioning`
    __Captions__
    `com.apple.preference.universalaccess?Captioning`

    __Audio__ `com.apple.preference.universalaccess?Hearing`
    __Audio__
    `com.apple.preference.universalaccess?Hearing`

    __Keyboard__ `com.apple.preference.universalaccess?Keyboard`
    __Keyboard__
    `com.apple.preference.universalaccess?Keyboard`

    __Mouse & Trackpad__ `com.apple.preference.universalaccess?Mouse`
    __Mouse & Trackpad__
    `com.apple.preference.universalaccess?Mouse`

    __Switch Control__ `com.apple.preference.universalaccess?Switch`
    __Switch Control__
    `com.apple.preference.universalaccess?Switch`

    __Dictation__ `com.apple.preference.universalaccess?SpeakableItems`
    __Dictation__
    `com.apple.preference.universalaccess?SpeakableItems`

    ## Screen Time

  16. @rmcdongit rmcdongit revised this gist Mar 29, 2020. 1 changed file with 24 additions and 9 deletions.
    33 changes: 24 additions & 9 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -49,26 +49,41 @@ open -b com.apple.systempreferences /Path/To/Pane
    x-apple.systempreferences:com.apple.preference.speech
    /System/Library/PreferencePanes/Speech.prefPane
    ```
    ## Spotlight Pane
    `/System/Library/PreferencePanes/Spotlight.prefPane`

    ## Language & Region Pane
    `/System/Library/PreferencePanes/Localization.prefPane`

    ## Notifications Pane
    ```bash
    x-apple.systempreferences:com.apple.preference.notifications
    open -b com.apple.systempreferences /System/Library/PreferencePanes/Notifications.prefPane
    ```

    __Main__ `com.apple.preference.notifications`
    ## Internet Accounts Pane
    `/System/Library/PreferencePanes/InternetAccounts.prefPane`

    ## Accessibility Pane
    ## Users & Groups Pane
    `/System/Library/PreferencePanes/Accounts.prefPane`

    ### Main
    ## Accessibility Pane

    __Main__ `com.apple.preference.universalaccess`
    `x-apple.systempreferences:com.apple.preference.universalaccess`

    __Display__ `com.apple.preference.universalaccess?Seeing_Display`
    __Display__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Display`

    __Zoom__ `com.apple.preference.universalaccess?Seeing_Zoom`
    __Zoom__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Zoom`

    __VoiceOver__ `com.apple.preference.universalaccess?Seeing_VoiceOver`
    __VoiceOver__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_VoiceOver`

    __Descriptions__ `com.apple.preference.universalaccess?Media_Descriptions`
    __Descriptions__
    `x-apple.systempreferences:com.apple.preference.universalaccess?Media_Descriptions`

    __Captions__ `com.apple.preference.universalaccess?Captioning`
    __Captions__ `x-apple.systempreferences:com.apple.preference.universalaccess?Captioning`

    __Audio__ `com.apple.preference.universalaccess?Hearing`

  17. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 17 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -26,6 +26,23 @@ open -b com.apple.systempreferences /Path/To/Pane

    # Preference Panes

    ## Apple ID Pane
    `/System/Library/PreferencePanes/AppleIDPrefPane.prefPane`

    ## Family Sharing Pane
    `/System/Library/PreferencePanes/FamilySharingPrefPane.prefPane`

    ## General Pane
    `/System/Library/PreferencePanes/Appearance.prefPane`

    ## Desktop & Screen Saver Pane
    `/System/Library/PreferencePanes/DesktopScreenEffectsPref.prefPane`

    ## Dock Pane
    `/System/Library/PreferencePanes/Dock.prefPane`

    ## Mission Control Pane
    `/System/Library/PreferencePanes/Expose.prefPane`

    ## Siri Pane
    ```
  18. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # macOS 10.15 System Preference Panes

    Below are a list of System Preference pane IDs and anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.
    Below are a list of System Preference pane URL Schemes and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard:

    @@ -11,18 +11,20 @@ tell application "System Preferences"
    end tell
    ```

    ## URL Scheme
    To open one of these with a terminal command use the following syntax (replace `<PaneID>` with the desired pane ID):

    ```bash
    open "x-apple.systempreferences:<PaneID>"
    ```

    ## Using System Preferences Bundle Identifier and Path
    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different sytax (replace `/Path/To/Pane` with your desired pane):

    ```bash
    open -b com.apple.systempreferences /Path/To/Pane
    ```

    # Preference Panes


    ## Siri Pane
  19. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -23,11 +23,13 @@ You can also access the main preference panes using the file path to each pane f
    open -b com.apple.systempreferences /Path/To/Pane
    ```

    # Panes Accessible using `x-apple` Command

    ## Siri Pane

    __Main__ `com.apple.preference.speech`
    ## Siri Pane
    ```
    x-apple.systempreferences:com.apple.preference.speech
    /System/Library/PreferencePanes/Speech.prefPane
    ```

    ## Notifications Pane

  20. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 9 additions and 3 deletions.
    12 changes: 9 additions & 3 deletions macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,6 @@
    # macOS 10.15 System Preference Panes
    # Accessing via Scripting

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.
    Below are a list of System Preference pane IDs and anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard:

    @@ -17,7 +16,14 @@ To open one of these with a terminal command use the following syntax (replace `
    ```bash
    open "x-apple.systempreferences:<PaneID>"
    ```
    # Panes Accessible using `open` Command

    You can also access the main preference panes using the file path to each pane from `/System/Library/PreferencePanes/` using the `open` command with slightly different sytax (replace `/Path/To/Pane` with your desired pane):

    ```bash
    open -b com.apple.systempreferences /Path/To/Pane
    ```

    # Panes Accessible using `x-apple` Command

    ## Siri Pane

  21. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # macOS 10.15 System Preference Panes
    ## Accessing via Scripting
    # Accessing via Scripting

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

  22. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # Accessing macOS 10.15 System Preference Panes with Scripting
    # macOS 10.15 System Preference Panes
    ## Accessing via Scripting

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

  23. @rmcdongit rmcdongit renamed this gist Mar 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_Anchors.md → macOS_SytemPrefs.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # macOS 10.15 System Preference Pane Anchors
    # Accessing macOS 10.15 System Preference Panes with Scripting

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

  24. @rmcdongit rmcdongit revised this gist Mar 28, 2020. No changes.
  25. @rmcdongit rmcdongit revised this gist Mar 28, 2020. No changes.
  26. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 44 additions and 44 deletions.
    88 changes: 44 additions & 44 deletions macOS_Anchors.md
    Original file line number Diff line number Diff line change
    @@ -20,120 +20,120 @@ open "x-apple.systempreferences:<PaneID>"

    ## Siri Pane

    __Main__ `x-apple.systempreferences:com.apple.preference.speech`
    __Main__ `com.apple.preference.speech`

    ## Notifications Pane

    __Main__ `x-apple.systempreferences:com.apple.preference.notifications`
    __Main__ `com.apple.preference.notifications`

    ## Accessibility Pane

    ### Main

    __Main__ `x-apple.systempreferences:com.apple.preference.universalaccess`
    __Main__ `com.apple.preference.universalaccess`

    __Display__ `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Display`
    __Display__ `com.apple.preference.universalaccess?Seeing_Display`

    __Zoom__ `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_Zoom`
    __Zoom__ `com.apple.preference.universalaccess?Seeing_Zoom`

    __VoiceOver__ `x-apple.systempreferences:com.apple.preference.universalaccess?Seeing_VoiceOver`
    __VoiceOver__ `com.apple.preference.universalaccess?Seeing_VoiceOver`

    __Descriptions__ `x-apple.systempreferences:com.apple.preference.universalaccess?Media_Descriptions`
    __Descriptions__ `com.apple.preference.universalaccess?Media_Descriptions`

    __Captions__ `x-apple.systempreferences:com.apple.preference.universalaccess?Captioning`
    __Captions__ `com.apple.preference.universalaccess?Captioning`

    __Audio__ `x-apple.systempreferences:com.apple.preference.universalaccess?Hearing`
    __Audio__ `com.apple.preference.universalaccess?Hearing`

    __Keyboard__ `x-apple.systempreferences:com.apple.preference.universalaccess?Keyboard`
    __Keyboard__ `com.apple.preference.universalaccess?Keyboard`

    __Mouse & Trackpad__ `x-apple.systempreferences:com.apple.preference.universalaccess?Mouse`
    __Mouse & Trackpad__ `com.apple.preference.universalaccess?Mouse`

    __Switch Control__ `x-apple.systempreferences:com.apple.preference.universalaccess?Switch`
    __Switch Control__ `com.apple.preference.universalaccess?Switch`

    __Dictation__ `x-apple.systempreferences:com.apple.preference.universalaccess?SpeakableItems`
    __Dictation__ `com.apple.preference.universalaccess?SpeakableItems`

    ## Screen Time

    __Main__ `x-apple.systempreferences:com.apple.preference.screentime`
    __Main__ `com.apple.preference.screentime`

    ## Security & Privacy Pane

    *Tip: The "Advanced" anchor essentially just triggers a panel unlock wherever the user may be at in the Security and Privacy pane. So, if you want them to enable a Privacy setting, open the desired Privacy anchor first (e.g. ?Privacy_Contacts) and then open the Advanced anchor (?Advanced) to prompt the user password to unlock the preference pane.*

    ### Main Tabs

    __Main Preference__ `x-apple.systempreferences:com.apple.preference.security`
    __Main Preference__ `com.apple.preference.security`

    __General__ `x-apple.systempreferences:com.apple.preference.security?General`
    __General__ `com.apple.preference.security?General`

    __Advanced__ `x-apple.systempreferences:com.apple.preference.security?Advanced`
    __Advanced__ `com.apple.preference.security?Advanced`

    __FileVault__ `x-apple.systempreferences:com.apple.preference.security?FDE`
    __FileVault__ `com.apple.preference.security?FDE`

    __Firewall__ `x-apple.systempreferences:com.apple.preference.security?Firewall`
    __Firewall__ `com.apple.preference.security?Firewall`

    __Privacy Main__ `x-apple.systempreferences:com.apple.preference.security?Privacy`
    __Privacy Main__ `com.apple.preference.security?Privacy`

    ### Privacy Anchors

    __Location Services__ `x-apple.systempreferences:com.apple.preference.security?Privacy_LocationServices`
    __Location Services__ `com.apple.preference.security?Privacy_LocationServices`

    __Contacts__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Contacts`
    __Contacts__ `com.apple.preference.security?Privacy_Contacts`

    __Calendars__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Calendars`
    __Calendars__ `com.apple.preference.security?Privacy_Calendars`

    __Reminders__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Reminders`
    __Reminders__ `com.apple.preference.security?Privacy_Reminders`

    __Photos__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Photos`
    __Photos__ `com.apple.preference.security?Privacy_Photos`

    __Camera__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Camera`
    __Camera__ `com.apple.preference.security?Privacy_Camera`

    __Microphone__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Microphone`
    __Microphone__ `com.apple.preference.security?Privacy_Microphone`

    __Speech Recognition__ `x-apple.systempreferences:com.apple.preference.security?Privacy_SpeechRecognition`
    __Speech Recognition__ `com.apple.preference.security?Privacy_SpeechRecognition`

    __Accessibility__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility`
    __Accessibility__ `com.apple.preference.security?Privacy_Accessibility`

    __Input Monitoring__ `Not Available`

    __Full Disk Access__ `x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles`
    __Full Disk Access__ `com.apple.preference.security?Privacy_AllFiles`

    __Files and Folders__ `Not Available`

    __Screen Recording__ `Not Available`

    __Automation__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Automation`
    __Automation__ `com.apple.preference.security?Privacy_Automation`

    __Analytics and Improvements__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Diagnostics`
    __Analytics and Improvements__ `com.apple.preference.security?Privacy_Diagnostics`

    __Advertising__ `x-apple.systempreferences:com.apple.preference.security?Privacy_Advertising`
    __Advertising__ `com.apple.preference.security?Privacy_Advertising`

    ## Dictation & Speech Preference Pane

    ### Main

    __Dictation__ `x-apple.systempreferences:com.apple.preference.speech?Dictation`
    __Dictation__ `com.apple.preference.speech?Dictation`

    __Text to Speech__ `x-apple.systempreferences:com.apple.preference.speech?TTS`
    __Text to Speech__ `com.apple.preference.speech?TTS`

    ## Sharing Preference Pane

    ### Main

    __Main__ `x-apple.systempreferences:com.apple.preferences.sharing`
    __Main__ `com.apple.preferences.sharing`

    __Screen Sharing__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_ScreenSharing`
    __Screen Sharing__ `com.apple.preferences.sharing?Services_ScreenSharing`

    __File Sharing__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_PersonalFileSharing`
    __File Sharing__ `com.apple.preferences.sharing?Services_PersonalFileSharing`

    __Printer Sharing__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_PrinterSharing`
    __Printer Sharing__ `com.apple.preferences.sharing?Services_PrinterSharing`

    __Remote Login__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_RemoteLogin`
    __Remote Login__ `com.apple.preferences.sharing?Services_RemoteLogin`

    __Remote Management__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_ARDService`
    __Remote Management__ `com.apple.preferences.sharing?Services_ARDService`

    __Remote Apple Events__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_RemoteAppleEvent`
    __Remote Apple Events__ `com.apple.preferences.sharing?Services_RemoteAppleEvent`

    __Internet Sharing__ `x-apple.systempreferences:com.apple.preferences.sharing?Internet`
    __Internet Sharing__ `com.apple.preferences.sharing?Internet`

    __Bluetooth Sharing__ `x-apple.systempreferences:com.apple.preferences.sharing?Services_BluetoothSharing`
    __Bluetooth Sharing__ `com.apple.preferences.sharing?Services_BluetoothSharing`
  27. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion macOS_Anchors.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ tell application "System Preferences"
    end tell
    ```

    To open one of these with a terminal command use the following syntax (replace <PaneID> with the desired pane ID):
    To open one of these with a terminal command use the following syntax (replace `<PaneID>` with the desired pane ID):

    ```bash
    open "x-apple.systempreferences:<PaneID>"
  28. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions macOS_Anchors.md
    Original file line number Diff line number Diff line change
    @@ -13,8 +13,9 @@ end tell

    To open one of these with a terminal command use the following syntax (replace <PaneID> with the desired pane ID):

    `open "x-apple.systempreferences:<PaneID>"`

    ```bash
    open "x-apple.systempreferences:<PaneID>"
    ```
    # Panes Accessible using `open` Command

    ## Siri Pane
  29. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions macOS_Anchors.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

    Use ScriptEditor.app to find the Pane ID of a specific pane. The following script will copy the Pane ID to your clipboard:
    To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard:

    ```bash
    tell application "System Preferences"
    @@ -11,9 +11,9 @@ tell application "System Preferences"
    end tell
    ```

    To open one of these with a terminal command use the following syntax (open Security and Privacy general tab):
    To open one of these with a terminal command use the following syntax (replace <PaneID> with the desired pane ID):

    `open "x-apple.systempreferences:com.apple.preference.security?General"`
    `open "x-apple.systempreferences:<PaneID>"`

    # Panes Accessible using `open` Command

  30. @rmcdongit rmcdongit revised this gist Mar 28, 2020. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions macOS_Anchors.md
    Original file line number Diff line number Diff line change
    @@ -2,13 +2,12 @@

    Below are a list of System Preference pane anchors that can be used with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.

    To find the Pane ID of a specific pane run the following script inside Apple ScriptEditor.app
    Use ScriptEditor.app to find the Pane ID of a specific pane. The following script will copy the Pane ID to your clipboard:

    ```python
    ```bash
    tell application "System Preferences"
    set CurrentPane to the id of the current pane
    set the clipboard to CurrentPane
    display dialog "Current Pane ID: " & CurrentPane & return & return & "Pane ID has been copied to the clipboard."
    end tell
    ```