| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 2007-06-19, at 04:29:36, Fleisher, Ken wrote:
Thanks. I'll give it a try. I'm sure you'll hear from me if I run into a problem!
On 6/18/07 4:35 PM, "Philip Aker" <email@hidden> wrote:
On 2007-06-18, at 13:10:19, Fleisher, Ken wrote:
I've not dealt with plist files before. Are there good examples of creating, writing to, and reading from one? What's the difference between that and just any text file?
do shell script "defaults write com.fleisher.ken SomeDefaultsKey 'Saved string value'"
set saved_key to (do shell script "defaults read com.fleisher.ken SomeDefaultsKey"
Note that with this kind of method, it's generally much easier to use
default values as string, boolean, or numbers rather than arrays or
dictionaries. For a small utility, that's usually all you'd need anyway.
Philip Aker email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users
| References: | |
| >Re: Property Value (From: "Fleisher, Ken" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.