externalPackages

Trevor DeVore lists at mangomultimedia.com
Tue Aug 12 12:47:15 EDT 2014


On Sun, Aug 10, 2014 at 11:06 PM, JB <sundown at pacifier.com> wrote:

> I created a button and put the following script into it.
>
> on mouseUp
> put the externalPackages of stack "rnahelloTest" into fld id 1004
> end mouseUp
>
> What happens is it sets my field to empty.
> I was thinking that since I have installed
> the external properly and the stack is able
> to use it properly it would list my external.
>

The externalPackages will be empty if the external failed to load. The
externals property reports the path to the external file on disk. The
externalPackages will report the names of the externals that were
successfully loaded.

If the externals property is pointing to the property external file on
disk, you can make sure the "destroyWindow" property of the stack is set to
true, close the stack, and then open it again. This will attempt to reload
the external.

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com    -    www.clarify-it.com



More information about the use-livecode mailing list