TrFile_FindFolder |
Returns the path to special folders (subdirectories).
Syntax
TrFile_FindFolder ( folderSwitch )
TrFile_FindFolder |
Returns the path to special folders (subdirectories).
TrFile_FindFolder ( folderSwitch )
TrFile_FullPathToFileSpec |
(Obsolete) This functions used to change the full path to the standard macOS FSSpec.
TrFile_FullPathToFileSpec ( switches ; FileSpec )
TrFile_GetContents |
Returns (a part of) the contents of the file specified by the filePath. You can specify the starting position and the number of characters to get.
TrFile_GetContents( switches ; filePath ; { start ; { size } } )
TrFile_GetDataSize |
Returns the size of the data for the file specified by the filePath. The size returns the actual number of bytes used in the file (not the size on disk).
TrFile_GetDataSize ( switches ; filePath )
TrFile_GetDateCreated |
Returns the creation date for the file specified by the filePath.
TrFile_GetDateCreated ( switches ; filePath )
TrFile_GetDateLastAccessed |
Returns the date a file was accessed (opened) for the last time.
TrFile_GetDateLastAccessed ( switches ; filePath )
TrFile_GetDateModified |
Returns the modification date for the file specified by the filePath. The modification date is also displayed in the Finder or Explorer.
TrFile_GetDateModified ( switches ; filePath )
TrFile_GetFileAttribute |
Returns an attribute of the file specified by the filePath.
TrFile_GetFileAttribute ( switches ; filePath )
TrFile_GetFileCreator |
Returns the Creator for the file specified by the filePath.
TrFile_GetFileCreator ( switches ; filePath )
TrFile_GetFileHash |
Returns the MD5 or SHA1 hash value (checksum) of a file.
TrFile_GetFileHash ( switches ; sourcefile )