Re: Scripting System Preferences in MacOS X
Re: Scripting System Preferences in MacOS X
- Subject: Re: Scripting System Preferences in MacOS X
- From: garbanzito <email@hidden>
- Date: Fri, 8 Feb 2002 10:48:26 -0700
at 2002 02 08, 11:59 -0300, they whom i call Francisco Hirsch wrote:
Is it possible to applescript System Preferences?
Specifically what I want to do is to launch an Applescript that changes
the startup disk to a predetermined 9.2. Volume.
Help (if at all possible) will be appreciated.
most system preference values are stored in plists in
~/Library/Preferences. i don't think the pref panels are
scriptable, but the command line utility "defaults" can
change the values. you could run defaults from an
AppleScript of course. do "man defaults" in the shell
for more info. someday i would expect someone (Apple?)
to develop a scripting framework to work with these.
be forewarned that there is little or no documentation of
what the exact format of the values in the plist files
should be. also, for some preferences to take hold, you may
need to restart Finder or log out. since the bulk of the
preferences are per-user, you could be safer by creating a
new user account for your experiments.
some deeper preferences can be controlled by NetInfo Manager
(not scriptable) and its command line partners, niutil,
niload & nidump. from the little i know of them, these are
far more dangerous to mess around with.
--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.