
If you want to trigger scripts with our Troi Activator Plug-in or use Drag and Drop with our Troi File Plug-in script triggering may not always work with FileMaker files created in FileMaker Pro 19.2 and later.
Continue Reading

![]() |
TrFile_GetFileName |
Returns the name of a file (or folder) in the filePath, including the extension
Syntax
TrFile_GetFileName ( switches ; filePath )

![]() |
TrFile_GetPreferredLanguages |
Returns a list of the preferred language and country codes for the current user, like “en-GB”
Syntax
TrFile_GetPreferredLanguages ( switches )

![]() |
TrFile_CreateThumbnail |
Creates a thumbnail (a small image of normally 80×80 pixels) from a graphics file and returns it.
Syntax
TrFile_CreateThumbnail ( switches ; filePath ; {thumbnailName} )

![]() |
TrFile_GetMetaData |
Gets metadata out of an image, movie or pdf. Metadata can be inserted by for example Photoshop and can contain a description of the image, copyright information, camera information, etc.
Syntax
TrFile_GetMetaData ( switches ; source )

![]() |
TrFile_SelectFileDialog |
Presents the user with a standard dialog and displays all files in a directory.
Syntax
TrFile_SelectFileDialog ( switches ; prompt ; { initialFolder } )

![]() |
TrFile_SetFileAttribute |
Sets an attribute of the file specified by the filePath.
Syntax
TrFile_SetFileAttribute ( switches ; filePath ; cftype ; comment )