| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| That does seem like it would be easier, since the plist isn't in a parental element format. ie key & string are siblings & causes lots of fun creating a proper parser. But, the code you gave isn't working in my widget. I even tried getting the defaults directly from Terminal after cding into the wdgt directory & running defaults read `pwd`/InfoCFBundleShortVersionString Incidentally, in my testing I did find that if you can see what preferences you've set by this format: defaults read widget-CFBundleIdentifier, where CFBundleIdentifier is the string you placed in your Info.plist. So, perhaps defaults can only be used for the preferences of an app, not it's default plist file? On May 12, 2005, at 2:50 AM, Guy Brooker wrote:
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: Displaying a version number? (From: Guy Brooker <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.