RE:Storing preferences, part deux
RE:Storing preferences, part deux
- Subject: RE:Storing preferences, part deux
- From: James Burns <email@hidden>
- Date: Thu, 6 Feb 2003 13:53:02 -0500
Please excuse me answering my own question, but I just found a great,
elegant solution that doesn't involve calling any shell scripts or too
much text manipulation. I found it in the AppleScript Studio
terminology Reference under Applications Suite:Classes:default entry.
What it lets you do is set user preferences thusly:
make new default entry at end of default entries of user defaults with
properties {name:"defaultName", contents:"Testing"}
(This for makes the entries start AFTER the default entries (which
would be bad to mess with).
To retrieve them, using the example from the previous one, just use:
set myName to contents of default entry "defaultName" of user defaults
Neat, elegant, and easy to implement.
Just thought I'd share. Thanks, again.
-----
James Burns
http://www.jamesburnsdesign.com
_______________________________________________
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.