launch document | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Use the launch command to open a document with the operating system's default program. | ||||||
Introduced | 2.7.1 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Command: launch, launch url Glossary: command | ||||||
Security | process | ||||||
Description | launch document allows you to open the file without specifying an application. The document will be opened using the standard shell association on Windows and Launch Services on Mac OS X. This means that launch document will have the same result as double clicking the file in Windows Explorer and Mac OS X Finder. If you want to launch a document with a specific application, use the launch command instead, which allows an optional documentName parameter for this purpose. |