TrFile_Search |
Search a folder (or volume) for a file or folder (directory).
Syntax
TrFile_Search ( switches ; folderPath ; searchName )
TrFile_Search |
Search a folder (or volume) for a file or folder (directory).
TrFile_Search ( switches ; folderPath ; searchName )
TrFile_SelectFileDialog |
Presents the user with a standard dialog and displays all files in a directory.
TrFile_SelectFileDialog ( switches ; prompt ; { initialFolder } )
TrFile_SelectFolderDialog |
With this function the user can select a folder on disk. The function will show the user a standard dialog with the hierarchy of folders on the computer.
TrFile_SelectFolderDialog ( switches ; prompt ; { initialFolder } )
TrFile_SetContents |
Sets the contents of an existing file indicated by the “SetDefaultFileSpec” function.
TrFile_SetContents ( switches ; text )
TrFile_SetContentsOfFile |
Sets the contents of a file.
TrFile_SetContentsOfFile ( switches ; filePath ; text )
TrFile_SetDefaultCreator |
Specifies the file creator to be used when creating a new file. This creator will be used for subsequent calls to TrFile_CreateFile.
TrFile_SetDefaultCreator ( switches ; Creator )
TrFile_SetDefaultFileSpec |
Indicates a FilePath (i.e. the file) to be used in succeeding functions where no FilePath is indicated.
TrFile_SetDefaultFileSpec ( switches ; filePath )
TrFile_SetDefaultType |
Sets the fileTypes to be displayed when showing SelectFileDialog. Also sets the default file type when creating new files.
TrFile_SetDefaultType ( switches ; fileTypes )
TrFile_SetFileAttribute |
Sets an attribute of the file specified by the filePath.
TrFile_SetFileAttribute ( switches ; filePath ; cftype ; comment )
TrFile_SetFinderComment |
Sets the the finder comment of a file (macOS only)
TrFile_SetFinderComment ( switches ; filePath ; comment )