XML Feeds

.

[javascript-dev] Re: Re: creating files problem in a standalone

Emmanuel Jourdan c74-mailinglists at e--j.com
Tue Jan 22 01:15:21 MST 2008


On 22 janv. 08, at 08:55, Jean-Baptiste Thiebaut wrote:

> I changed the name of my function to "_save()" and the same problem   
> occurs: the data can not be saved when the function is called from a  
> standalone, while it works when it is called from Max.
>
> I'm not too sure where the file would be created though. When the  
> function is called from Max, the file is created in the same folder  
> that contains the JS file. Within a standalone in Mac OS, where  
> should the file be created anyway?

Can you try to provide an absoulte path to your File object? You may  
use the max.apppath property to find where the standalone is.

ej



More information about the javascript-dev mailing list