Livecode Wiki
Advertisement

Returns a list of the currently loaded extensions.Syntax:

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    

Use the loadedExtensions function to find out which [[LiveCode Builder extension|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.

See also: unload extension (command),widget (object),kind (property),

Advertisement