ask file with type | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Displays a standard Save dialog for the user to enter a file name and specify a location. | ||||||||||||
Introduced | 2.6 | ||||||||||||
Changes | The ask file ... with type ... form was introduced in version 2.6. | ||||||||||||
OS | mac, windows, linux | ||||||||||||
Platforms | desktop | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Values |
| ||||||||||||
Related | Keyword: file, it Property: dontUseNS Command: modal, answer file, ask Glossary: property, modal dialog box, variable, application, Windows, file dialog box, Mac OS, file path, Unix, dialog box, command | ||||||||||||
Security | disk | ||||||||||||
Description | Use the ask file command to let the user provide the name and location of a new file. The dialog box is the same one most applications use for the "Save" command in the File menu. (If the systemFileSelector property is set to true on Mac OS and Windows systems, and always on Unix systems, the application displays its own built-in dialog box, instead of the one provided by the operating system.)
If the systemFileSelector property is set to false, LiveCode's built-in dialog box is used instead of the operating system's standard file dialog. | ||||||||||||
Tags | file system |