TrFile_Reveal |
Reveals a file (or folder) in the Finder or Explorer.
Syntax
TrFile_Reveal ( switches ; filePath )
Online help for Troi Plug-ins for FileMaker Pro 16.
TrFile_Reveal |
Reveals a file (or folder) in the Finder or Explorer.
TrFile_Reveal ( switches ; filePath )
TrFile_SaveFileDialog |
Presents the user with a dialog, in which the user can specify where to save a file. The function returns with the FilePath of the chosen file. Use this FilePath for other File plug-in functions.
TrFile_SaveFileDialog ( switches ; prompt ; { defaultName ;
{ initialFolder } } )
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 )