TrFile_CreateFile |
Creates a new empty file in the location indicated by the filePath. This function requires no user intervention.
Syntax
TrFile_CreateFile ( switches ; filePath )
TrFile_CreateFile |
Creates a new empty file in the location indicated by the filePath. This function requires no user intervention.
TrFile_CreateFile ( switches ; filePath )
TrFile_CreateFolder |
Creates a new (empty) folder (subdirectory).
TrFile_CreateFolder ( switches ; folderPath )
TrFile_CreateThumbnail |
Creates a thumbnail (a small image of normally 80×80 pixels) from a graphics file and returns it.
TrFile_CreateThumbnail ( switches ; filePath ; {thumbnailName} )
TrFile_DeleteFile |
Deletes the file indicated by the filePath. This function requires no user intervention.
TrFile_DeleteFile ( switches ; filePath )
TrFile_DeleteFolder |
Deletes the folder indicated by the folderPath.
TrFile_DeleteFolder ( switches ; folderPath )
TrFile_DiskInfo |
Retrieves information about a specified disk, like the number of files.
TrFile_DiskInfo ( switches ; diskname )
TrFile_DragAndDrop |
This function implements drag and drop of files and folders onto a FileMaker window.
TrFile_DragAndDrop ( switches ; fileName ; scriptName ; { fieldBounds } )
TrFile_ExecuteShell |
Execute a command in the (UNIX or Windows) shell of the operating system.
TrFile_ExecuteShell ( switches ; shellCommand )
TrFile_Exists |
Check for the existence of a file or folder.
TrFile_Exists ( switches ; filePath )
TrFile_FileSpecToFullPath |
(Obsolete) This function used to return the full path of a file or folder from the FSSpec. macOS only.
TrFile_FileSpecToFullPath( switches ; FileSpec )