Storing preferences?
Storing preferences?
- Subject: Storing preferences?
- From: James Burns <email@hidden>
- Date: Wed, 5 Feb 2003 15:31:10 -0500
Hello:
First of all, a quick thanks to everyone who has helped me in the past
couple of days with my newbie questions. This list has been invaluable
in my learning process.
Now that I've buttered you all up, I've got a few more questions. I
have the feeling that these are common questions, but I'm only
resorting to bugging y'all after fruitlessly searching for answers on
the World-Wide Web.
Here's what I'm trying to do -- Write a preference file.
My questions?
1/ What's the best way to implement this? I looked at the sample
application in the examples/applescript studio folder of the December
2002 developer's release, but can't quite wrap my head around what's
involved. Is there a simple scheme for doing this just with Applescript
i/o commands, and not calling obscure Cocoa routines?
2/ In that vein, is there a way to overwrite files automatically
(without user intervention) if they exist? That way I could write a
simple text file with the info I want to retain between sessions
without bugging the user at quitting time.
3/ Any suggestions for the structure of the preference file? Text?
Records? Delineated how?
Thanks for your suggestions.
-----
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.