Novice Question....
Novice Question....
- Subject: Novice Question....
- From: Steve Thompson <email@hidden>
- Date: Tue, 31 Dec 2002 09:51:18 -0800 (PST)
I regularly use an application that stores its preferences file in my /Library directory in the format of a file with TEXT resources. The name of the TEXT resource is the preference (for example "SCREEN_DEPTH") and the value of the resource is the setting for the preference (for example "8")
I'd like to knock together a little app that allows me to query and perhaps change these resources. I can do it in OS 9.x using AppleScript, FaceSpan and any one of a multitude of OS 9-only OSAX that edit resources.
I have this wonderful development environment at my disposal is OS X (10.2.3 and Dec 2002 Dev Tools) but I can't find a way in AppleScript or Cocoa to look at resource forks. Could one of you kind people point me in the right direction? eg NSQueryResource or "It can't be done..."
Thanks,
Steve
_______________________________________________
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.