Startup message

Pete pete at mollysrevenge.com
Tue Aug 2 17:32:54 EDT 2011


Thanks, makes sense.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Tue, Aug 2, 2011 at 2:04 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Hi Pete,
>
> Move your script from the stack script to the card script. If you keep a
> preOpenStack script in the card script, then it won't be executed when other
> substacks are opened.
>
> If you want the script to execute in the standalone only and not in the
> IDE, then you have to options. Either put the script in the startUp handler
> or check that the environment is "standalone" before continuing the script.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> What does that error mean? Buy LiveCodeErrors for iPhone now
> http://qery.us/v4 A must-have for LiveCode programmers.
>
> On 2 aug 2011, at 22:57, Pete wrote:
>
> > preOpenStack handler in the mainstack will be executed for every substack
> of
> > the main stack that is opened?  I can easily check whether my
> initialisation
> > code has already executed in the handler but was hoping for a way to have
> > the code executed just once when the app started up.
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the Use-livecode mailing list