[futurebasic] Re: [FB] Temp Folder in X

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2002 : Group Archive : Group : All Groups

From: Heather Donahue <maclists@...>
Date: Wed, 18 Dec 2002 23:43:39 -0800
On 12/18/02 9:54 PM, "Robert Covington" <artlythere@...> wrote:

> 
>> (2) There is no Startup Items folder in OS X
> 
> Have there been any changes to the Temporary Items folder or how that area
> is handled in OSX, or should properly converted routines still work ok?

There appears to only be some minor changes.  Looks at the Mac OS X Folder
Manager ref:

<http://developer.apple.com/techpubs/macosx/Carbon/Files/FolderManager/Folde
r_Manager/index.html>

It looks like Mac OS X adds using a "domain" constant that you should use.
I would guess that a properly written Carbon app that works fine on Mac OS 9
will work fine under Mac OS X, under most circumstances.

The actual folder "Temporary Items" is on a per user basis.  My user ID
(UID) is 501, so my "Temporary Items" folder is at "/tmp/501/Temporary
Items", user 502 would be at "/tmp/502/Temporary Items"

Something created the same folder in my home directory, so perhaps it
matters what domain you use.  It almost seems proper to create the
"Temporary Items" folder in the users directory but I don't see that
happening much.  The domain constants are explained in Folders.h, you'll
want to experiment unless someone has done this already and can explain
further.