Specifies a list of files containing external code that are to be loaded into memory when the stack opens.
# Metadata
Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:
# Syntax
set the externals of stack to filePathsList
# Examples
set the externals of stack "Apps" to field "Executables"
# Description
Each line of the externals specifies the file path of a file containing external and external. If you specify a name but not a location, the file is assumed to be in the defaultFolder.
The files are executed when the stack is opened, making the externals in them available to handlers in the stack.
>*Important:* When you install a new external by setting a > stack externals property, LiveCode cannot use it until > you either quit LiveCode and then reopen the stack, or close the > stack (after setting its destroyWindow property to true) and > then reopen it.
# Tags
# See
- **keyword:** file - **property:** defaultFolder, imagePixmapID, externalPackages, destroyWindow, externals - **function:** deleteResource, files - **glossary:** property, external, file path, loaded into memory - **object:** stack