preopenStack

Sarah Reichelt sarah.reichelt at gmail.com
Sun Jan 18 22:24:23 EST 2009


On Mon, Jan 19, 2009 at 12:45 PM, Generic Email
<generic.email.30022 at gmail.com> wrote:
> I have a stack with a fld "test"
> this code fails on startup
>
> on preopenStack
>    put URL "http://screen-share.com/" into eml
>    put "test" into field "test"
> end preopenStack
>
> This code succeeds on startup
>
> on preopenStack
>    --put URL "http://screen-share.com/" into eml
>    put "test" into field "test"
> end preopenStack
>
> Can someone explain why this is failing? It is very frustrating.

Hi Bert,

This works for me, except that your script had no way of detecting
whether the URL command had worked, so I changed the 2nd line to:
  put eml into field "test"

However, if this is for a standalone, it may be trying to do it's
thing before the URL library has loaded, so it might be better to put
it in an openStack handler instead.

Cheers,
Sarah

P.S. And thanks for sharing your name :-)



More information about the use-livecode mailing list