On Sun, Aug 10, 2014 at 11:06 PM, JB <sund...@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 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode