[Etoys] DrGeoII.xo

Bert Freudenberg bert at freudenbergs.de
Fri Jan 25 06:41:45 EST 2008

On Jan 25, 2008, at 12:36 , Korakurider wrote:

> On Jan 25, 2008 8:00 PM, Bert Freudenberg <bert at freudenbergs.de>  
> wrote:
>> Does anybody understand what I'm talking about? ;)
>      I am trying...
>> I think we need a better theory separating the "base app" (the code
>> that gets loaded) and the current project. Perhaps the .xo should
>> contain both a .st for the code and a .pr for the initial project ...
>> that would mean when saving the project it would not have to save out
>> the code. On loading we would have to distinguish between resuming an
>> old project and starting a new activity instance, loading either the
>> project in the bundle or the one from the datastore. For that I think
>> we would have to pass the bundled project via the "URI" parameter,
>> and it would get ignored if an OBJECT_ID is present.
>     And we need to modify semantics of  "--document" parameter or
> invent new one so that *.st will be preloaded, right?
>     tricky anyway...

Well, --document gets loaded by ProjectLauncher, whereas URI is  
loaded by SugarLauncher (both are active in the etoys image). So if  
we can assure that AutoStart processes ProjectLauncher before  
SugarLauncher, this should work. But adding yet another parameter for  
"preloading" might be cleaner.

- Bert -

More information about the Etoys mailing list