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.
Syntax
TrFile_SetDefaultCreator ( switches ; Creator )
Online help for Troi Plug-ins for FileMaker Pro 16.
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 )
TrFile_SetMetaData |
Sets metadata into an image file. Metadata can contain a description of the image, copyright information, etc.
TrFile_SetMetaData ( switches ; sourceFilePath ; destFilePath ;
metadatablock )
TrFile_SetTimestampCreated |
Sets the creation date/time of the file specified by the filePath.
TrFile_SetTimestampCreated ( switches ; filePath ; timestamp )
TrFile_SetTimestampModified |
Sets the modification date/time of the file specified by the filePath.
TrFile_SetTimestampModified ( switches ; filePath ; timestamp )
TrFile_Substitute |
Substitutes every occurrence of a specified set of characters in a (text) file with another set of characters you specify, and writes the revised file. The Substitute function is case sensitive.
TrFile_Substitute ( switches ; sourceFile ; destinationFile ;
search string ; replace string )
TrFile_UnmountDisk |
Unmounts and ejects a remote or removable disk.
TrFile_UnmountDisk ( switches ; diskname )