Reading System Preferences
Reading System Preferences
- Subject: Reading System Preferences
- From: Seth Willits <email@hidden>
- Date: Fri, 1 Aug 2003 15:06:38 -0700
I'm trying to read the homepage preference set in the System
Preferences. I looked in the plist files to find what the key was,
changed it in System Prefs to make sure I was looking the right one and
then tried to read it in Cocoa like in the code below but there's no
string found for the key.
I must be missing something, but I've read the NSUserDefaults section
in Cocoa Programming and looked in the Apple documentation but I can't
find anything.
[[NSUserDefaults standardUserDefaults] stringForKey:@"WWWHomePage"]
Thanks,
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine -
http://www.rbdeveloper.com
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
"Not everything that can be counted counts, and not everything that
counts
can be counted."
-- Albert Einstein
------------------------------------------------------------------------
---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.