
![]() |
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 )

Troi File Plug-in 14.0 adds HEIC support on Windows
Troi File Plug-in 14 for FileMaker Pro 19 adds support for creating thumbnails from HEIC (High Efficiency Image File Format) image files.
To create thumbnails from files with the .heic and .heif extension files on Windows with the with TrFile_CreateThumbnail function you first need to install HEVC Video Extensions on Windows. These extensions work with Windows 10 version 20H2 and later and with Windows 11. Thumbnail support also includes .heic images created on iOS and other images with the .heif extension.
Continue Reading