Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies a file to a specified location and opens it. If the location is omitted, the file is copied to a temporary path.
Syntax
public boolean newFile([Filename _template, Filename _newFileName])
Run On
Called
Parameters
- _template
Type: Filename Extended Data Type
The name of the template file.
- _newFileName
Type: Filename Extended Data Type
The name for the new file.
Return Value
Type: boolean
true if the file was copied and opened; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | There was no occurrence of the template file. -or- The file cannot be copied. |