The following applescript works fine in Monterey but not Ventura, does anyone know why?

tell application "System Preferences"
    reveal pane id "com.apple.preference.general"
    delay 1
end tell
  • 2
    Maybe because Apple changed "System Preferences" extensively and it is now "System Settings?" Jan 6, 2023 at 22:55
  • I’ve slightly changed the title to mention the question is asking specifically about system preferences, hope that’s ok
    – grg
    Jan 6, 2023 at 23:38
  • @grg no problem, thank you!
    – Jonny
    Jan 6, 2023 at 23:40

2 Answers 2


The scheme x-apple.systempreferences works in Ventura with .extensions.

do shell script "open x-apple.systempreferences:com.apple.Appearance-Settings.extension"

A list of available options is available at https://derflounder.wordpress.com/2022/10/25/opening-macos-venturas-system-settings-to-desired-locations-via-the-command-line/


Maybe something like this will help you?

do shell script "open -b com.apple.systempreferences"

tell application "System Events"
    repeat until static text 1 of UI element 1 of row 14 of ¬
        outline 1 of scroll area 1 of group 1 of splitter group 1 of ¬
        group 1 of window "Appearance" of process "System Settings" exists
        delay 0.1
    end repeat
    key code 126 -- up arrow key
end tell

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .