Saving data in Revolution standalones

Sarah Reichelt sarahr at genesearch.com.au
Tue Jun 21 03:23:31 EDT 2005


>> However they will not save automatically, you need to script a save
>> for each substack whose data needs to be recorded.
>>
>> The simplest way is probably to have an "on closeStack" handler with
>> a single command: "save this stack", but you may want to save more
>> often than that in case of crashes, so you could set up a save that
>> happened every few minutes, or one triggered by the user doing
>> something with the data.
>>
>
> Your solution run OK when the standalone application is under  
> MacOSX. (Run OK and save the datas)
> But in the windows standalone don´t run (not save the datas).
>
> Any idea?

Try putting a line after your "save this stack" line that says:
     if the result is not empty then answer the result

This will tell you if there is an error while saving. Are you an  
administrative user on the Windows machine. If your application is in  
the Program Files folder, and you are not an administrator, you will  
not be able to save it's stacks. Try moving it to your desktop or  
documents folder and seeing if it works there.

Cheers,
Sarah



More information about the use-livecode mailing list