Startup message

Slava Paperno slava at
Tue Aug 2 16:49:15 EDT 2011

On a related note: I have often wished that preOpenStack and openStack were
not called when I open the stack in the IDE. When the programming is not
finished, some calls that are already written into those handlers cannot yet
be successful because other parts are missing. The result is that the first
thing you see when you open the stack in the IDE is an error.

My preference would be for the IDE to open the stack in the Browse mode, and
for those two handlers to be called when I switch to the Run mode. And
"sometimes" I think that what does happen, but I have never stopped to
investigate if it's true.


> -----Original Message-----
> From: use-livecode-bounces at [mailto:use-livecode-
> bounces at] On Behalf Of Richard Gaskin
> Sent: Tuesday, August 02, 2011 4:30 PM
> To: use-livecode at
> Subject: Re: Startup message
> Pete wrote:
> > Thanks folks, didn't realise this message only applied to
> standalones.  Is
> > there then no equivalent for stacks running in the IDE, other than a
> > preOpenCard/preOpenStack handler?
> Startup is for when the engine starts up, preOpenStack is for when a
> stack is opened.  Having both messages is very useful.  Using
> preOpenStack for things you want to initialize in both the IDE and as a
> standalone will do what you need.
> --
>   Richard Gaskin
>   Fourth World
>   LiveCode training and consulting:
>   Webzine for LiveCode developers:
>   LiveCode Journal blog:
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list