loadedExtensions

returns a list of the currently loaded extensions.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 8.0 Security:

# Syntax

the loadedExtensions

# Examples

put the loadedExtensions

if "com.livecode.extensions.livecode.switchButton" is among the lines of the loadedExtensions then create widget as "com.livecode.extensions.livecode.switchButton" end if

# Description

Use the loadedExtensions function to find out which LiveCode Builder extension are loaded, in order to determine (for library extension) if its public handlers are available in the message path, or (for widgets) if it is available to create with the create widget command.

Each line of the list returned by the loadedExtensions function is the kind of the corresponding LiveCode Builder extension.

# Tags

# See

- **keyword:** line - **property:** kind - **command:** create widget, load extension, unload extension - **object:** widget - **glossary:** function, return, LiveCode Builder extension, LiveCode Builder extension, command