Link to home
Start Free TrialLog in
Avatar of bleggee
bleggeeFlag for United States of America

asked on

Mac - How do I create a Desktop icon to run prefs ...

How do I create a Desktop Icon that I can click to launch some of the Mac system preference apps ... for example, an Icon that I can click to open the *Sound* Preferences? 
Avatar of serialband
serialband
Flag of Ukraine image

If you want sound preferences, just press option and click on the sound icon on the top right then select sound preferences.
You can also just press the option key and one of the media keys above the numbers to pull up different preference panes.
Sound is not a great example as you can ENABLE the sound icon in the System Preferences which puts the icon in the menubar on the top right and from there you can always open it with a single click.

If you really want to do it then for other Panes then my recommendation would be to do it with Apple Script

Open Script Editor app
Paste in the code as follows
tell application "System Preferences"
   activate
   set current pane to pane id "com.apple.preference.keyboard"
end tell

Open in new window

Change the PANE ID to the desired pane (the one above is for keyboard   "com.apple.preference.keyboard")
** Note .. you can extend the script open specific subpanes but in recent OSX versions you need to give the Script Editor assistive access (Security & Privacy : Accessibility)

Test the script by running it .. if it works as you want save the SCPT file as an APPLICATION
Place the Application on the Desktop
ASKER CERTIFIED SOLUTION
Avatar of serialband
serialband
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bleggee

ASKER

Thanks to you both!
OK, then since all pref panes are in /System/Library/PreferencePanes/, I ended up just opening that folder and "Make Alias" for the ones I wanted on the Desktop.
- B
BTW. If you want to automatically open a specific tab you will need to use a script.