Re: Persistent data storage
Re: Persistent data storage
- Subject: Re: Persistent data storage
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 12 Jul 2007 13:37:07 -0400
- Thread-topic: Persistent data storage
on 2007-07-12 12:15 PM, Jan Erik Moström at email@hidden wrote:
> But I have no idea what the "modern" way of storing data is, so
> how would you recommend that I store the data?
There are a number of possibilities, but at least one of them is already
installed on your computer -- assuming you're running a current version of
Mac OS X. It's the scriptable Database Events application, in the
/System/Library/CoreServices folder. Its terminology dictionary includes a
Database Suite with a very small set of simple commands and objects that let
you store and retrieve data in fields and records. I believe it uses the
SQLite facilities built into Mac OS X.
It is designed for just the sort of lightweight scenario you describe. Once
you become aware of its quirks (and there are several), it is very easy to
use. You can find some example scripts written by Ben Waldie here:
<http://www.mactech.com/articles/mactech/Vol.21/21.05/AppleScriptInTiger/ind
ex.html>.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden