XML Feeds

.

[javascript-dev] creating files problem in a standalone

Emmanuel Jourdan c74-mailinglists at e--j.com
Mon Jan 21 16:27:39 MST 2008


On 21 janv. 08, at 19:01, Jean-Baptiste Thiebaut wrote:

> Hi,
>
> I'm using the code below to save data in a file. This works well as  
> long as I'm working with Max, but it doesn't write in the file when  
> I run the standalone program. I am able to read the file though.
> In the code below, I'm posting a message if the system cannot open  
> the file. I never get this message on the console, so I presume that  
> the standalone can create or open the file, but maybe only in read  
> mode? In fact, the data stored in these file can be read but cannot  
> be changed in the standalone version of my program.


Hi,

The save() method is called when you save the patch, which, AFAIK, is  
something which is not possible in a standalone. You may have to use  
other strategy to trigger the writing mechanism of your file.

HTH,
ej




More information about the javascript-dev mailing list