populating stack with field

Trevor DeVore lists at mangomultimedia.com
Thu Jul 1 15:37:59 EDT 2004


On Jul 1, 2004, at 12:12 PM, Mark Wieder wrote:

> Trevor-
>
> Thursday, July 1, 2004, 11:35:58 AM, you wrote:
>
> TD> What Revolution probably needs are some functions for 
> getting/setting
> TD> preferences that would do the right thing on each platform 
> (Registry on
> TD> Windows, pList on Mac, etc.).  You of course can roll your own that
> TD> just stores preferences in a stack file that you save in a folder 
> that
> TD> all users can write to.
>
> Like PrefsBuilder 1.6?

This seems like an interesting solution though after glancing at it 
there are some things I use which it didn't seem to have (correct me if 
I am wrong).

I have my own transcript library that I use for storing prefs that uses 
the Windows Registry or a stack file on Mac.  I did it this way since 
my installers usually write initial pref values to the registry that my 
program will later access.  Right now my installers write to a text 
file on Mac and I parse that the first time the app is launched.  
PrefsBuilder stores everything in a text file.

Also, some prefs are for the application as a whole and are stored in a 
directory writable by all users while others are user specific and are 
stored in a different directory.  It looks like PrefsBuilder just 
stores them in the users preferences directory.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list