Release notes for version 5.1 - 19th May 2015
- Added MarkDown functions.
- Added EnvironmentVariables functions.
- Added grouping to ListDialog.
- Added Clipboard.GetFiles and Clipboard.SetFiles functions.
- Added Dictionary.SetVariables function.
- Added Dictionary.Values, Dictionary.AddSQL, Dictionary.ValueTypeForKey and QuickList.AddSQL.
- Added DynaPDF.EditTemplate, DynaPDF.EditTemplate2 and .
- Added DynaPDF.SetFieldFont and DynaPDF.SetFieldFontEx functions to support asian characters in form fields.
- Added DynaPDF.SetPrinterSettings, DynaPDF.GetPrinterSettings and DynaPDF.GetInPrinterSettings functions.
- Added DynaPDF.SysFontInfo and DynaPDF.FontInfo functions.
- Added Files.Mount and Files.Unmount functions.
- Added FM.ArgumentCount and FM.Argument functions.
- Added FM.CurrentScriptID, FM.ScriptNameForScriptID and FM.ScriptIDForScriptName functions.
- Added FM.DisableMouseWheel for Windows to block mouse wheel usage.
- Added FM.InsertRecord function.
- Added FM.InsertRecordQuery function.
- Added FM.SQL functions to get SQL results in native data types.
- Added Folders.UserTrash function.
- Added function FM.NULL to get null values to pass to SQL.SetParamValue(s).
- Added functions FM.CurrentThreadID, FM.IsMainThread and FM.MainThreadID.
- Added GMImage.NewImagesFromContainer and GMImage.NewImagesFromFile to split tiff.
- Added inline option for SendMail.AddAttachmentFile and SendMail.AddAttachmentContainer.
- Added ListDialog.AddSQL to add list items via SQL.
- Added Menu.DefineQuickMenu.
- Added Menu.FindItemWithTag and Menu.FindItemWithTitle functions.
- Added MenuItem.ApplyColor function to color menu entries on Mac.
- Added MenuItem.GetBold, MenuItem.GetFontName, MenuItem.GetFontSize, MenuItem.GetItalic, MenuItem.GetUnderline, MenuItem.SetBold, MenuItem.SetFontName, MenuItem.SetFontSize, MenuItem.SetItalic and MenuItem.SetUnderline.
- Added MenuItem.GetRequireCommand, MenuItem.GetRequireControl, MenuItem.GetRequireOption, MenuItem.GetRequireShift, MenuItem.SetRequireCommand, MenuItem.SetRequireControl, MenuItem.SetRequireOption and MenuItem.SetRequireShift.
- Added OCR.SetResolution function.
- Added parameter for RichText.ReplaceText to replace all.
- Added parameter for various functions returning PDF containers to disable rendering of JPEG preview: SQL.GetFieldAsPDF, SQL.GetParamAsPDF, WebView.RenderPDF, CURL.GetResultAsPDF, PDFKit.GetPDFPageValue, Files.ReadPDF, Window.AsPDF, Container.DecodeFromBase64, ServiceProvider.Value, CGPSConverter.Convert, PDFKit.GetPDFPagePDF and PDFKit.GetPDFPagesPDF.
- Added parameter to Math.TextToNumber to detect dot or comma for decimal separator.
- Added parameter to Text.DecodeFromHTML to decode html entities, but leave xml entities there.
- Added parameter to XML.Query to ignore errors in parsing.
- Added Plugin.SetPreviewSize function to control preview sizes.
- Added Plugin.SetSuccessReturn and Plugin.GetSuccessReturn to modify what plugin returns for success.
- Added RegEx.FindMatches function.
- Added RichText.WritePDF and RichText.GeneratePDF functions.
- Added SerialPort.SetDataAvailableHandler and SerialPort.ClearDataAvailableHandler functions.
- Added SetFunctions to limit what functions the plugin allows you to call.
- Added SQL error code into error messages for SQL.Execute and other functions.
- Added SQL.GetFieldNameList, SQL.GetFieldValueList, SQL.GetParamNameList and SQL.GetParamValueList functions.
- Added SQL.GetFieldValue, SQL.GetParamValue, SQL.SetParamValue and SQL.SetParamValues.
- Added text encoding parameter for Barcode functions. Default stays at UTF-8.
- Added Text.CapitalCase, Text.LowerCase and Text.Uppercase with full unicode support.
- Added TimeOut option for Socket.Connect.
- Added Twain.SetPaper, Twain.SetPaperSize and Twain.GetPaper functions.
- Added UnZipFile.UsePassword and ZipFile.UsePassword to encrypt Zip archives.
- Added WebView.InstallMultiFileOpenDialog function to allow multiple selection file dialogs in a webviewer.
- Added Windows support for WebView.LoadHTML.
- Added XL.CopyContent function to copy content from one XL document to other, useful for converting between XLS and XLSX formats.
- Changed Calendar functions to return UID instead of plugin ID if possible.
- Changed DragDrop feature to accept promised file drops. This allows files to be dropped from Photos app to FileMaker.
- Changed DynaPDF.Save to close current page if you forgot that.
- Changed FM.ExecuteSQL to return error messages in clear text on error. You can use IsError function to know if it was an error.
- Changed PDF preview rendering to make smaller previews in faster speed.
- Changed PDFKit preview rendering of PDF pages to take care of rotation.
- Changed RegEx.FindMatches to switch ReturnWholeMatch parameter to true if you don't have captures in your search pattern.
- Changed ZipFile.WriteContainer to accept writing empty file.
- Fixed a bug with WebView.GetFormTextAreaValue on Windows which did crash sometimes.
- Fixed bug in GMImage.WriteImages function. Now working again.
- Fixed bug in JSON.GetObjectName. Reports now an error if index is out of bounds instead of crashing.
- Fixed bug in Path.NativePathToFilemakerPath.
- Fixed bug in Text.DecodeFromXML and Text.DecodeFromHTML about html entities not being decoded correctly.
- Fixed bug in Text.EncodeToHTML.
- Fixed GMImage.GetPixelColor to return correct error message if coordinate is out of bounds.
- Fixed problem in Files.GetPathFromNodeID function.
- Fixed SyntaxColoring for comments for FileMaker 14.
- Fixed Twain.SetDuplexEnabled so you can now disable duplex.
- Fixed WebView.SetFormSelectValue to work also if there is no form name given.
- Fixed ZipFile.WriteText function. Now text is again parameter 1 and not 2.
- Functions like IsServer now also work if demo mode expired.
- Added a version check to query server for update information while in development.
- Improved copy script text button. Should not copy the list of available script steps.
- Improved error message for Container.Export function.
- Improved error message handling for Firebird database connector part in SQL functions.
- Improved some of the Windows Webviewer functions to handle memory usage better.
- Marked a lot of functions to not be available on server due to FileMaker Server not performing Script calls on the server.
- Some smaller fixes for FileMaker 14.
- The Audit.Change function now returns an error message if the given table name is invalid.
- The Webviewer Form and Field functions now find fields and forms by ID on Mac and not just by name.
- Tracing script calls now shows also name of current script, file, user and host if available.
- Updated DynaPDF to version 3.0.39.116.
- Updated LCMS to 2.7.
- Updated libSQL to version 4.1.5.
- Upgraded Xcode to version 6.3.1
New in version 5.0 New in version 5.2
More details in the Release notes.

