|
|
Troi File Plugin 2.7 Changelog- Troi File Plugin 2.7 - 19th January 2004
- Improved the “TrFile-MetaData” function. Added 2 new switches “-SourceMacCharSet” and “-SourceWinCharSet”, to be used with the switch “-GetIPTC”. IPTC data in image files can have either Mac or Windows encoded higher ASCII characters in IPTC texts. With these new switches you can tell the plug-in which character encoding you expect in the image files. Alternatively you can retrieve both encodings and then see which is best. Note: If you don’t specify a CharSet switch, the plug-in uses the encoding of the platform it is running on.
- (Mac OS X) Improved the “TrFile-ListFolder” function. Added support on Mac OS X for long filenames, up to 255 characters. By default the plug-in returns the truncated name. If you add the switch -longnames the plug-in can now return the long filenames.
- (Mac OS X) Improved the “TrFile-Search” function. Added support on Mac OS X for long filenames, up to 255 characters. By default the plug-in returns the truncated name. If you add the switch “-longnames” the plug-in can now return the long filenames.
- (Mac OS X) Improved the “TrFile-Search” function, you don’t longer have to add a colon “:” after the diskname.
- Added a switch “-CurrentAppFolder” to the TrFile-GetPathTo function, which returns the folder of the current running application. This is for example the folder of the FileMaker Pro application or the folder of the FileMaker runtime application.
- (Mac OS X only) Changed behaviour of the switch “-CurrentApplication”. This function now returns the FSSpec to the FileMaker application package (usually FileMaker Pro.app), instead of the carbon executable inside this package. So the full path will no longer be: ”MacHD:Applications:FileMaker Pro 6 Folder:FileMaker Pro.app:Contents:MacOS:FileMaker Pro” Instead it will be: ”MacHD:Applications:FileMaker Pro 6 Folder:FileMaker Pro.app:” Be aware that the FSSpec of this package is a folder! IMPORTANT this may break a script if you assumed the “Contents:MacOS:FileMaker Pro” was at the end. If you only want to find the folder of the FileMaker application use the new switch “-CurrentAppFolder”.
- (Windows NT/XP) Fixed a bug in the TrFile-Substitute function: if you substituted in place and the replace string was shorter than the search string, garbage text could be appended at the end of the file.
- Fixed a bug in the TrFile-Substitute function: If you gave wrong parameter to the function (an empty source file string) the plug-in could crash. Now it properly returns $$-50 in this case.
- (Mac OS X only) Fixed a bug in the TrFile-FileSpec To FullPath function where higher ASCII characters in the path, like u-umlaut, would not be returned correctly.
- Improved example files: Removed pause in CreateFile.fp5 example; removed superfluous layout in FileManipulation.fp5 example and fixed link to Launch.fp5 in All File Examples.fp5.
- Improved the Import1Image.fp5 example file. On Mac OS X it now splits the selected path correctly into path and name.
- Improved the Image Catalog Sample File.
- (Mac) Registration now also works if the registration file has a “.txt” extension at the end.
|