Setting paths to Externals
Sivakatirswami
katir at hindu.org
Fri Nov 23 23:05:57 EST 2007
Andre Garzia wrote:
> Aloha Sivakatirswami,
>
> the steps are easy. First, put the externals inside the bundle of the
> standalone. choose inspect the package from the finder and drop the
> external into the externals folder inside it.
>
> If you set the externals property of the stack right then it should
> just work. Remember the only time when you're allowed to bind an
> external is during the startup handler. you can't load externals
> during openstack or preopenstack or anything like that. Just during
> startup.
>
> So if you want you can put something like that:
>
> on startup
> set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll")
> end startup
>
> IIRC, you must set both a bundle and a dll even if the dll does not
> exist, but you're welcome to try without it.
>
> Om shanti
> andre
>
>
>
Thanks Andre: You are up late! (smile)
How does the app know where to find it?
But don't you need to do some kind of fancy path variable set up,
parsing etc ?
put the filename of this stack into tPath
set itemdel to"/"; delete item -1 of tPath
etc. etc. etc.?
on startup
set the externals of this stack to ("libKiosk.bundle" & cr & "libKiosk.dll")
end startup
What if you have more than one external you want to load? would it be
like this:
set the externals of this stack to ("libKiosk.bundle" & cr &
"libKiosk.dll" & "revBrowser.bundle"&cr&"revBrowser.dll")
>>
>
>
>
More information about the use-livecode
mailing list