forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalternateLanguages.lcdoc
More file actions
47 lines (32 loc) · 1.16 KB
/
Copy pathalternateLanguages.lcdoc
File metadata and controls
47 lines (32 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Name: alternateLanguages
Type: function
Syntax: the alternateLanguages
Syntax: alternateLanguages()
Summary:
Returns the list of 'active scripting' languages that are installed on
the system.
Introduced: 1.1
OS: mac, windows
Platforms: desktop
Example:
the alternateLanguages
Example:
if "AppleScript" is among the lines of the alternateLanguages then
do tScript as AppleScript
end if
Returns:
The <alternateLanguages> <function> <return|returns> a list of script
languages, one per line.
Description:
Use the <alternateLanguages> <function> to find out what scripting
languages (in addition to <LiveCode>) are available for use with the do
command.
Mac OS and OS X systems support system-wide script languages (such as
AppleScript) through the Open Scripting Architecture (OSA). You can
write statements in any OSA language and execute them using the do
command.
Windows systems support scripting through the "active scripting"
functionality of the Windows Script Host. You can write statements in
any "active scripting" language and execute them using the do command.
References: do (command), function (control structure),
LiveCode (glossary), return (glossary)