The get command can be used to import a file into the current document at the current cursor position.
get { prompt [ "fileName" ] | "fileName" }
prompt [ "fileName" ] | Use the parameter prompt to indicate that the get file dialog should be displayed to allow the user to select a file. If the optional parameter fileName is specified, the get file dialog will be initialized with the specified file name. |
"fileName" | Use the parameter fileName to indicate the file that should be used. |
The status parameter will be set to one of the following:
null Indicates that the get command successfully located and loaded the specified file. file.notFound Indicates that the get command could not locate the specified file. findText.errorReading Indicates that the get command encountered an error while reading the file.
get "test.java" get prompt
get action
Default editor commands