Defaults (was Re: Opening System Preference Panes)
Defaults (was Re: Opening System Preference Panes)
- Subject: Defaults (was Re: Opening System Preference Panes)
- From: email@hidden
- Date: Sat, 31 Aug 2002 12:10:55 EDT
In a message dated 8/30/02 7:53:39 PM, Neal A. Crocker writes:
>
For that, you need to use the "do shell script" command (in Standard
>
Additions) to use the "defaults" shell command. The shell command
>
"defaults" let you access a more-or-less system-wide database of
>
preferences that includes the settings controlled by the System
>
Preferences. Setting can be written into the database for any domain
>
using key-value pairs, so you'll need to know what domain to refer
>
to, the appropriate key for you setting and the values it takes. The
>
domain for any give preference pane is of the form
>
"com.apple.preferences.xxx", where xxx depends on the preference pane
>
your are interested in.
I just discovered defaults, and they are very cool. Does anyone know if the
defaults system is robust enough to use as a database in its own right? Can I
create my own "com.linkedresources.whatever" file and place thousands of
key/value pairs therein, where each key/value pair might be many K in length?
Or would that simply overwhelm the system? I know sorting and searching are
another issue, but I just need data storage and lookup.
<..snip..>
>
To find out the command syntax for the "defaults" command,
>
type "man defaults" (without the quotes) into a terminal window and
>
hit return.
Or use grabMan at
http://www.linkedresources.com/teach/applescript/grabman.shtml
Yes, the rest of my site is a mess. I'm working on it.
Jeff Baumann
email@hidden
www.linkedresources.com
cc please, on digest
_______________________________________________
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.