The File functions allow you to open a file in a script and then read and write lines to the file. These OpusScript functions are equivalent to using the Storage actions in the Storage menu of the Actions dialog. To use these functions, you must first use the OpenFile function to create a new File object in the script.
Hierarchy:
Only the specific functions listed under the Functions: heading below can be used with File objects:
Class Hierarchy:
File
Functions:
Close an opened file | |
Check for the end of file marker in the specified file | |
Goes to first line of an opened file | |
Goes to next line of an opened file | |
Opens a file and returns a new file Object | |
Read a file that has been opened | |
Reads a field in a file that has been opened | |
Reads first line of an opened file | |
Returns the type of object as a string | |
Write a string to an opened file | |
Write a string to a field in an opened file | |
Write a string to a line in an opened file |