loadedExtensions

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the loadedExtensions
loadedExtensions()
Summary

Returns a list of the currently loaded extensions.

Introduced8.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
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    
Values
NameTypeDescription
return

The loadedExtensions function returns a list of the loaded extensions, one per line.

RelatedKeyword: line
Property: kind
Command: create widget, load extension, unload extension
Object: widget
Glossary: function, return, LiveCode Builder extension, LiveCode Builder extension, command
Description

Use the loadedExtensions function to find out which extensions are loaded, in order to determine (for libraries) 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 extension.

Tagsextensions