Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Script commands for System Preferences on OSX
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1827417" data-attributes="member: 110816"><p>Unless I'm mistaken, none of the System Preferences components are exposed in a manner in which you can modify them through a Bash script. If you were to use AppleScript, it might be possible to automate some of the UI interactions, but even that might be limited. </p><p></p><p>What you should tell us WHAT part of the OS you are trying to customize and how. How often are you making these configuration changes requiring you to automate it with a script? If you are doing this in a institutional setting where you are doing this on multiple Macs, that's a different story, but if this is on your personal Mac, why would you be tweaking these settings constantly?</p><p></p><p>If your intention is to learn to script, perhaps you should set a different goal and then see if your Bash scripting an be applied elsewhere.</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1827417, member: 110816"] Unless I'm mistaken, none of the System Preferences components are exposed in a manner in which you can modify them through a Bash script. If you were to use AppleScript, it might be possible to automate some of the UI interactions, but even that might be limited. What you should tell us WHAT part of the OS you are trying to customize and how. How often are you making these configuration changes requiring you to automate it with a script? If you are doing this in a institutional setting where you are doing this on multiple Macs, that's a different story, but if this is on your personal Mac, why would you be tweaking these settings constantly? If your intention is to learn to script, perhaps you should set a different goal and then see if your Bash scripting an be applied elsewhere. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Script commands for System Preferences on OSX
Top