specialFolderPath("Temporary") on OS X

Thierry Arbellot thierry.arbellot at wanadoo.fr
Fri Oct 3 14:35:00 EDT 2003


Hi Alex,

I had a similar problem on one of my iMac, that didn't have the 
temporary folder, and specialFolderPath("Temporary") returned empty.
Worst, if I created this folder, it was removed when the system is 
restarted.

The solution was to add in the script the command "put the tempName" 
that creates the missing temporary folder.

Hope that helps.

Regards.

Thierry.

On Friday, October 3, 2003, at 06:44 PM, Alex Rice wrote:

> specialFolderPath("Temporary") works on Mac OS X, most of the time. It 
> returns a path like /tmp/xxx/temporary items/ where xxx is the UID. 
> However, on my OS X box, it has recently started cleaning out /tmp on 
> reboot, and after that specialFolderPath("Temporary") returns empty. 
> After some time has passed, some other app, or the OS, decides to 
> recreate the /tmp/xxx/temporary directories and then 
> specialFolderPath("Temporary") works again.
>
> It's very strange. Anyone know the cause of this? I'm just going to 
> use the unix-like "/tmp" and not use specialFolderPath("Temporary") 
> for OS X, but I would like to know how this is happening.
>
> Anyone using the MLXEditor plugin, this is a possible gotcha.
>
>
> Alex Rice <alex at mindlube.com> | Mindlube Software | http://mindlube.com
>
> what a waste of thumbs that are opposable
> to make machines that are disposable  -Ani DiFranco
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the Use-livecode mailing list