[futurebasic] Re: [FB] More questions than a two year old

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2004 : Group Archive : Group : All Groups

From: Scott Spencer <sj3@...>
Date: Wed, 7 Jan 2004 19:20:25 -0800
George,

Just use FB's "Get Preferences" and "Put Preferences" functions.

NOTE:  You'll have t o add the "Subs PrefsFile.incl" file to your 
project to access them.

In OS X, these functions save the apps preference file in the users 
"/Library/Preferences" folder like it should be.

Easy as cake...

----
Scott Spencer
sj3@...

On Jan 7, 2004, at 6:39 PM, George Beckman wrote:

> When building an app for OS X, where should I be storing my 
> preferences?  I
> am currently putting them in my app's folder but am noticing that apps 
> which
> seem to be built by smarter folks than me, are storing files in the
> Users/*currentlogin*/library/application support
>
> I want to do that...but..
>
> 1. How do I get the current user String?  (*current login*) or find the
> current user's Application Support folder?
> 2. Is this correct?
> 3. Will it work on Jaguar and Panther, Tigger and Piglet?
> 4. Will it work with MacManager...the new OS X version?
> 5. Can I assume that I should put my prefs in a folder like the big 
> boys?
> 6. Is it going to rain this week?
>
> -- 
> Best Wishes,
>
> George
> mailto: gbeckman@...
> http://www.pggp.com
>
>
>
>
> --
>
>