externalCommands

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the externalCommands of <stack>
Associationsstack
Summary

Lists the available external commands for a stack.

Introduced1.0
Changes

Support for using the externalCommands property on OS X systems was added in version 2.0.

OSwindows, linux
Platformsdesktop, server
Example
answer the externalCommands of stack "Basics"
if myExternal is among the lines of the externalCommands \
  of this stack then do myExternal
Values
NameTypeDescription
Value

The externalCommands of a stack reports a list of available external commands, one per line. This property is read-only and cannot be set.

RelatedKeyword: line
Property: externalPackages
Object: stack
Glossary: external, property, handler
Description

Use the externalCommands property to find out whether a particular external command is available for use in handlers, or to list all the available external commands.

You use an external command in a handler the same way you use one of LiveCode's built-in commands.