Skip to content

joshuawagner/alfred-system-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

alfred-system-settings

Launch/open system settings panes from within the awesome Alfred App (updated for Ventura)



Installation

  • download the latest release
  • double-click the downloaded .alfredworkflow file
  • customize triggers (optional)

Usage

  • invoke Alfred
  • type any of the following:
    • ss {spacebar}
    • system settings
    • system preferences


Backstory

I wanted to create an AppleScript to navigate to the 'Login Items' preference pane in System Settings but the pane ids have changed in newer versions of Mac OS.
I had a hard time finding paneIDs for the various system preference panes and how to activate them so I thought I'd post my findings here.


This script from here gave me a list of settings panes.

applescript
tell application "System Settings"
	tell every pane
		its id
	end tell
end tell

I'm running Mac OS Ventura 13.3.1 and here's the (long) list it gave me:

"com.apple.Appearance-Settings.extension", "com.apple.settings.PrivacySecurity.extension", "com.apple.ExtensionsPreferences", "com.apple.Profiles-Settings.extension", "com.apple.Mouse-Settings.extension", "com.apple.systempreferences.GeneralSettings", "com.apple.SystemProfiler.AboutExtension", "com.apple.Software-Update-Settings.extension", "com.apple.settings.Storage", "com.apple.AirDrop-Handoff-Settings.extension", "com.apple.LoginItems-Settings.extension", "com.apple.Localization-Settings.extension", "com.apple.Date-Time-Settings.extension", "com.apple.Sharing-Settings.extension", "com.apple.Time-Machine-Settings.extension", "com.apple.Transfer-Reset-Settings.extension", "com.apple.Startup-Disk-Settings.extension", "com.apple.Desktop-Settings.extension", "com.apple.Users-Groups-Settings.extension", "com.apple.ScreenSaver-Settings.extension", "com.apple.Network-Settings.extension", "com.apple.Battery-Settings.extension*EnergySaverPreferences", "com.apple.wifi-settings-extension", "com.apple.Keyboard-Settings.extension", "com.apple.Passwords-Settings.extension", "com.apple.Sound-Settings.extension", "com.apple.Touch-ID-Settings.extension*TouchIDPasswordPrefs", "com.apple.Siri-Settings.extension", "com.apple.BluetoothSettings", "com.apple.Game-Center-Settings.extension", "com.apple.Notifications-Settings.extension", "com.apple.Lock-Screen-Settings.extension", "com.apple.Displays-Settings.extension", "com.apple.Print-Scan-Settings.extension", "com.apple.Screen-Time-Settings.extension", "com.apple.Trackpad-Settings.extension", "com.apple.Wallpaper-Settings.extension", "com.apple.Focus-Settings.extension", "com.apple.Internet-Accounts-Settings.extension", "com.apple.ControlCenter-Settings.extension", "com.apple.systempreferences.AppleIDSettings*AppleIDSettings", "com.apple.Accessibility-Settings.extension", "com.wacom.ProfessionalControlPanel"

Here is an example of the AppleScript that comprises each action in the workflow!
tell application "System Settings"
	activate
	set the current pane to pane id "com.apple.LoginItems-Settings.extension"
end tell



Mentions:

awesome-alfred-workflows

https://github.com/alfred-workflows/awesome-alfred-workflows

About

Alfred workflow to launch/open system settings panes (updated for Ventura)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published