Troi File Plugin 2.8 Changelog


Back to Troi File Plugin

Back to Troi File Plugin Changelog


  • Troi File Plugin 2.8 - 29th June 2004
    • Prepared plug-in for FileMaker 7.
    • The function “TrFile-GetPathTo” with the -CurrentFileName switch does not work with FileMaker Pro 7, and now returns in FileMaker 7 the error code “$$-4215″ (kErrInvalidFMPVersion).Solution: use the build-in Get(FilePath) function. See the GetpathTo.fp7 example file in the download of File Plug-in 3.0, for an example on how to convert a FileMaker style path to a full path in the format the File Plug-in understands.
    • The function “TrFile-ReferenceToClip” does not work with FileMaker Pro 7, and now returns in FileMaker 7 the error code “$$-4215″ (kErrInvalidFMPVersion). Solution: use the FileMaker 7 native way to import as a reference. See the RefPict.fp7 example file in the download of File Plug-in 3.0.
    • (Mac OS) The functions “TrFile-FileSpecToFullPath” and “TrFile-FullPathToFileSpec” will now pass on an error code, like for example $$-43.
    • (Windows) fixed a bug in TrFile-Get FileSpec Dialog, TrFile-Save FileSpec Dialog and TrFile-ContentsDialog functions. If you used these functions, the enclosing folder of the last selected file could not be deleted, Windows would say “Cannot delete folder: It is being used by another program.”.
    • (Mac OS X) you can now launch folders.
    • (Windows) fixed a bug where TrFile-DeleteFile could return a random error code, when there was really no error.
    • (Mac OS X) When using the function TrFile-FindFolder with the “-Root” switch, it now returns the top folder on the startup disk folder (for example “Mac HD:”) and no longer the System folder on the startup disk (for example “Mac HD:System:”)  IMPORTANT this may break a script if you assumed a result like: “Mac HD:System:”.
    • (Windows) Instead of $$1 the date functions now return more descriptive (Mac like) error codes. This concerns these functions: TrFile-GetDateCreated, TrFile-GetTimeCreated, TrFile-GetDateTimeCreated, TrFile-GetDateModified, TrFile-GetTimeModified and TrFile-GetDateTimeModified.
    • (Windows) The TrFile-CopyFile, the TrFile-MoveFile and the TrFile-GetFileSize will now return Mac like error codes. For example they will return error code $$-48 instead of $$183 when a file already exists.
    • Improved example Import1Image.fp5.
    • (Windows) Improved ListFolder function: it no longer needs a backslash at the end.
    • (Windows download) Added forgotten Overview.fp5 file.