Troi File Plugin 5.0 Changelog


Back to Troi File Plugin

Back to Troi File Plugin Changelog


  • Troi File Plugin 5.0 - 21st June 2010
    • New Functionality:
      • Made compatible and tested with FileMaker Pro 11.
      • Added compatibility with Windows 7.
      • Troi File Plug-in is now compatible with FileMaker styled paths, like for example “filemac:/MacHD/folder/file.txt”. Each function with a FileSpec parameter can now also be given a FileMaker styled path. You can still use all the FileSpec formats of previous versions of the Troi File Plug-in, like for example “MacHD:folder:file.txt” on Mac OS X and “C:folderletter.txt” on Windows.
      • Updated CreateFile.fp7 example to show the use of FileMaker style paths, like “filewin:/C:/dir/test.txt”.
      • Improved Drag and Drop functionality: you can now specify up to two drag destination rectangles (even on the same window), each drag can trigger a different script. See the example in DragAndDrop.fp7.
      • Added new function: TrFile_GetTypeOfItem, which provides an easy way to see if a paths points to a folder or file.
      • Updated the example file DragAndDrop.fp7 to make use of the new function: TrFile_GetTypeOfItem.
      • Added support for RAW files in TrFile_CreateThumbnail: it can now create a thumbnail from the (large) thumbnail embedded in the RAW file. This should work for several RAW formats, but currently only has been tested with Canons CR2 format.
      • Added switch “-GetFullSizeRawThumbnail” to the TrFile_CreateThumbnail function: This switch will return the full size thumbnail embedded in the RAW file. This should work for several RAW formats, but currently only has been tested with Canons CR2 format.
      • You can now get the creation date and modification date of a folder using the TrFile_GetDateCreated and TrFile_GetDateModified functions. This also works with the variant functions, like for example TrFile_GetTimestampModified.
      • You can now set the creation date and modification date of a folder using the TrFile_SetTimestampCreated and TrFile_SetTimestampModified functions.
    • Fixes:
      • (Windows) Fixed a problem with TrFile_ExecuteShell always returning a timeout error $$-4230 even if the executed process terminated on time.
      • (Windows) Improved TrFile_ExecuteShell, including improved error handling.
      • (Mac OS X) Fixed a problem when creating a temporary file on a remote disk, which could result in a $$-5000 (afpAccessDenied) error. This error could occur in several functions: TrFile_CreateThumbnail, TrFile_SetMetaData and TrFile_Substitute.
      • (Mac OS X) Fixed a bug in TrFile_MoveFile function that could lead to a crash of FileMaker and removed calls to an older ResolveAlias function. This change will also fix potential problems in other functions that have a full path as parameter.
    • Other Changes and Enhancements:
      • (Mac OS X only) Added support for ColorSync in TrFile_CreateThumbnail: this function can now create a thumbnail in the sRGB color space. The thumbnail will have the “sRGB IEC61966-2.1″ profile embedded.
      • NOTE this feature is not enabled by default, it needs to be enabled by adding a .
      • “-AddColorSyncSupport” to the switches parameter of TrFile_CreateThumbnail().
      • Improved the TrFile_MetaData function: When retrieving GPS metadata the Altitude reference now returns 0, indicating Sea Level.
      • Added new switch to TrFile_Version: -UnregisterPlugin. This will remove the registration data. The plug-in will be in a unregistered state after this. See the “Temporary Register Dialog Plug-in” script in the file RegiFunc.fp7 for an example use.
    • Improved Example Files and Documentation:
      • Updated CreateFile.fp7 and MoveFolder.fp7 example to use variables and to make use of the TrFile_Exists function.
      • Fixed a script in the FolderManipulation.fp7 example file.
      • Improved the GetExif.fp7 and SetExif.fp7 example files: they now also parse the GPS data types: Image direction and Image direction reference (True or Magnetic direction) and Degree of precision.
      • Updated the User Guide, and also fixed an incorrect example in the User Guide and Overview.fp7.