[futurebasic] Re: [FB] [ANN] FutureBasic 5.1.5 and FBtoC 1.1.10

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2009 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Tue, 31 Mar 2009 08:04:54 -0700
On Mar 31, 2009, at 1:40 AM, Ken Shmidheiser wrote:

>
> Am I correct in assuming you are using toolbox functions rather than  
> straight command line calls to locate the private temporary  
> directory in Leopard?

Ken,

Either FindFolder (  FSSpec  ) or FSFindFolder ( for FSRefs ) will do  
the job. The editor code still uses FSSpecs. The following locates and  
returns the components to enable creation of an FSSpec.

fn FindFolder( _kOnAppropriateDisk, _kTemporaryFolderType,  
_kCreateFolder, @tempVRefNum, @tempDirID )

After a reboot, the contents appear in Trash as Recovered files


Brian S.