Stack message once all libs are loaded?
massung at gmail.com
Tue Feb 16 09:25:07 CST 2010
I've tried that to no avail in the IDE. If that's meant to work then perhaps
I just have a bug where the message is getting eaten up by another control
somewhere along the way.
On Tue, Feb 16, 2010 at 9:09 AM, Jan Schenkel <janschenkel at yahoo.com> wrote:
> --- On Tue, 2/16/10, Jeff Massung <massung at gmail.com> wrote:
> > I'm trying to get my app to load up a
> > web page immediately on startup, but
> > this is not going well at all. preOpenStack, openStack,
> > startup, all of
> > these messages fail to work for me since - at that time -
> > the internet
> > library group hasn't been initialized yet, and my call to
> > LOAD fails.
> > Is there any message I can key off of to say "once the
> > background groups are
> > open and the internet library is initialized, do X?"
> > Thanks!
> > Jeff M.
> Hi Jeff,
> The simplest way is to 'send' a message from your startup/openstack/...
> handler, to be executed in 0 milliseconds. This way, the message will be
> triggered right after everything is loaded in terms of libraries.
> on openStack
> send "FetchWelcomePage" to me in 0 milliseconds
> end openStack
> on FetchWelcomePage
> put URL("http://www.example.org/welcome.htm" into field "Welcome"
> end FetchWelcomePage
> Jan Schenkel
> Quartam Reports & PDF Library for Revolution
> "As we grow older, we grow both wiser and more foolish at the same time."
> (La Rochefoucauld)
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode