MBS Filemaker Plugin Changelog
Back to MBS Filemaker Plugin
- - MBS Filemaker Plugin 2.7 - 8th May 2012
- Added FileDialog functions.
- Added JSON functions.
- Added CoreLocation functions to query location of a Mac.
- Added Encryption.DecryptBlowfish and Encryption.EncryptBlowfish.
- Added Encryption.DecryptAES and Encryption.EncryptAES.
- Added Hash.MD5 and Hash.SHA512 functions to get hashes of UTF-8 text.
- Added WebPolicyDelegate functions to decide which files should be downloaded.
- Added WebDownloadDelegate functions so you can get downloads from WebViewer on Mac.
- Added functions Files.AppPath, Files.Launch, Files.LaunchFile and Files.RevealFile.
- Added duration parameter for Mac OS X to Window.Resize and Window.Move.
- Added WebView.EstimatedProgress.
- Added Icon.SetIcon and Icon.ClearIcon for Mac to set/remove file icons.
- Added new CURL functions: CURL.AddInputFile, CURL.AddInputJPEG, CURL.AddInputPNG and CURL.AddInputText.
- Added Files.FileSize function.
- Added more parameter for Mac to Webview.LoadURL function.
- Added Window.ScrollbarsVisible function.
- Added Window.GetAlpha.
- Added Preferences.SetValue and Preferences.SetValue functions.
- Added Files.DirectoryExists, Files.FileExists and Files.ItemExists functions.
- Added PDFKit.Watermark function.
- Added PDFKit.GetPDFPageFormattedText function.
- Fixed crash on Windows with CURL options using lists.
- Fixed Window.HideScrollbar function for Filemaker 12 on Mac and Windows.
- Fixed GraphicsMagick functions to no longer crash if you call them with Destroyed image reference.
- Changed CURL.SetUpdateProgressDialog to now also work for uploads.
- Changed CURL debug output to no longer contain SSL raw data of transfer.
- Changed Webview and Window functions on Mac so they better check if a handle is no longer valid. We now track which windows are closed and invalid window references so they can’t be used.
- Changed plugin to use more Unicode APIs for better file name handling.
- Improved Drag and Drop. You can now specify email and receive email drags from Apple Mail.
- Improved hidden scrollbars on Mac for Filemaker 12 so they stay hidden even with resizing window.
- Implemented Path.NativePathToFilemakerPath and Path.FilemakerPathToNativePath for Windows.
- + MBS Filemaker Plugin 2.6 - 21st March 2012
- Added new SQL methods for accessing multiple SQL databases (Oracle, SQL Server, DB2, Sybase, Informix, InterBase, SQLBase, MySQL, PostgreSQL and ODBC, SQLite).
- Added AppDockTile.getBadgeLabel, AppDockTile.getHeight, AppDockTile.getWidth and AppDockTile.setBadgeLabel.
- Added Clipboard.GetText and Clipboard.SetText.
- Added FileDialogWatcher.GetLastPath and FileDialogWatcher.Install functions.
- Added CURL.CloseDebugFile, CURL.CloseHeaderFile, CURL.CloseInputFile and CURL.CloseOutputFile
- Added CURL.CreateDebugOutputFile, CURL.CreateHeaderOutputFile, CURL.CreateOutputFile AND CURL.OpenInputFile
- Added CURL.FormAddKeyContainer, CURL.FormAddKeyContainerContentType, CURL.FormAddKeyFile, CURL.FormAddKeyFileContentType, CURL.FormAddKeyText and CURL.FormAddKeyTextContentType.
- Added CURL.SetOptionFileOnlyMode.
- Added DragDrop.GetText and DragDrop.GetURL for URL and text dropping.
- Added Font.Activate and Font.Deactivate functions.
- Added MouseCursor.Set function to show different mouse cursor while processing.
- Added Notification.Listen and Notification.Send.
- Added ProgressDialog.GetPositionX and ProgressDialog.GetPositionY.
- Added ProgressDialog.GetTopMost and ProgressDialog.SetTopMost
- Added ProgressDialog.Update to redraw dialog.
- Added String.DecodeFromURL and String.EncodeToURL functions.
- Added WebView.PrintPreview (For Windows)
- Fixed crash with CGPSConverter.Convert function.
- Fixed CURL.SetOptionMailFrom function.
- Fixed Mac plugin to be compatible again to Mac OS X 10.4 and newer. We lost that with adding SQL functions in pr2.
- Fixed ProgressDialog.GetBottomText to return bottom text on Mac and not top text.
- Fixed UUID functions which were broken.
- Improved ProgressDialog button caption so it automatically fits the text length on Mac.
- Improved Webviewer memory handling on Windows.
- + MBS Filemaker Plugin 2.5 - 24th January 2012
- Added CURL plugin functions to download/upload with http/https/ftp/ftps/sftp and sending/receiving emails with pop3/imap/smtp.
- Added CUPS plugin functions to query printers and print jobs, cancel print jobs, and sending data to printer.
- Added WebView.DisableJavascriptAlerts to disable javascript alert on Mac.
- Added Math.HexToDec and Math.DecToHex.
- Added new optional NoAnimation parameter to Window.Resize function.
- Fixed a memory leak with GMImage.NewFromContainer.
- Fixed a memory leak with container JPEG functions.
- Fixed a few small memory leaks.
- Fixed a bug where GMImage.NewFromContainer did not read a container value, because there were two JPEG streams and the first one was empty.
- Fixed the error above for JPEG functions, too.
- Updated Screenshot functions for Mac OS X 10.7.
- Improved documentation with table formatting.
- Improved Form Utility:
- Now shows right commands for textarea, checkbox and select fields.
- Added Images tab.
- Now uses $ for variable names.
- Improved reading containers for Container.GetJPEG* functions, especially for external jpeg files. Same for PDFKit, GraphicsMagick and functions
- Improved GMImage.NewFromContainer so it now also reads references image files.
- Trace function now works again with logging to file.
- + MBS Filemaker Plugin 2.4 - 11th October 2011.
- Added new ProgressDialog functions.
- Added Drag and Drop functions for Mac.
- Added USB functions to find and list connected USB devices.
- Added VersionAutoUpdate function which returns version number in format 020400xx. Same as Version, but better parsable.
- Added type paramters to PDFKit.GetPDFPageImage and WebView.RenderImage to select type and filename for image.
- Added resolution parameter to PDFKit.GetPDFPageImage function.
- Added box parameter to PDFKit.GetPDFPageImage function.
- Added PDFKit.SetIgnoreCombineErrors and PDFKit.GetIgnoreCombineErrors.
- Added String.RemoveNewLine function.
- Added a String.WriteTextFile function.
- Added new optional filename parameter to Window.AsPDF, GMImage.GeticcColorProfile, GMImage.Getprofile, GMImage.GetiptcProfile, GMImage.WriteToPNGContainer, GMImage.WriteToJPEGContainer, GMImage.WriteToGIFContainer and GMImage.WriteToPNGContainer.
- Added GMImage.WriteToGIFContainer and GMImage.WriteToPNGContainer.
- Added a TextToRTF function.
- Added new string functions: String.EncodeToHTML, String.DecodeFromHTML, String.EncodeToHex and String.DecodeFromHex.
- Added Path.NativePathToFilemakerPath and Path.FilemakerPathToNativePath.
- Added Trace function.
- Added ShowURL function.
- Added String.ReadTextFile.
- Added Window.Resizable and Window.SetResizable.
- Added Window.ShowsToolbarButton and Window.SetShowsToolbarButton to hide toolbar button on Mac OS X.
- Added String.ReplaceNewline function.
- Added Window.HideScrollbars and Window.ShowScrollbars function.
- Added CGPSConverter.Convert function.
- Fixed bug with Progress Dialog on Windows (progressbar jumped).
- Fixed a bug with dpi value not used right for PDF image creation.
- Window functions now only work for Mac with Cocoa. So we now require Filemaker 8.5 or newer on Mac for all functions touching windows.
- Updated Form Utility.
- Our Drag and Drop functions can’t work on Windows as Filemaker overwrites plugin there.
- WebView.RenderImage now really has image type optional.
- Plugin Version function returns version now in format 2.4.0.xx where xx is the build number.
- Now includes Intel only version of plugin. You need that for a Runtime in the Apple Mac App Store.
- Graphicsmagick image references are now validated before being used. This avoids some trouble.
- Graphicsmagick functions WriteTo*Container now check if compression works.
- Window.SetCloseButton can now enable close button on runtimes on Windows.
- RTF function now handles unicode characters.
- Runtime solutions show first License dialog on first function call. (without license).
- Registration dialog now shows plugin version and last called function.
- Moving error handling so we return LastError to Filemaker instead of error message. So check lasterror of all plugin calls.
- + MBS Filemaker Plugin 2.4 - 11th October 2011.
- Added new ProgressDialog functions.
- Added Drag and Drop functions for Mac.
- Added USB functions to find and list connected USB devices.
- Added VersionAutoUpdate function which returns version number in format 020400xx. Same as Version, but better parsable.
- Added type paramters to PDFKit.GetPDFPageImage and WebView.RenderImage to select type and filename for image.
- Added resolution parameter to PDFKit.GetPDFPageImage function.
- Added box parameter to PDFKit.GetPDFPageImage function.
- Added PDFKit.SetIgnoreCombineErrors and PDFKit.GetIgnoreCombineErrors.
- Added String.RemoveNewLine function.
- Added a String.WriteTextFile function.
- Added new optional filename parameter to Window.AsPDF, GMImage.GeticcColorProfile, GMImage.Getprofile, GMImage.GetiptcProfile, GMImage.WriteToPNGContainer, GMImage.WriteToJPEGContainer, GMImage.WriteToGIFContainer and GMImage.WriteToPNGContainer.
- Added GMImage.WriteToGIFContainer and GMImage.WriteToPNGContainer.
- Added a TextToRTF function.
- Added new string functions: String.EncodeToHTML, String.DecodeFromHTML, String.EncodeToHex and String.DecodeFromHex.
- Added Path.NativePathToFilemakerPath and Path.FilemakerPathToNativePath.
- Added Trace function.
- Added ShowURL function.
- Added String.ReadTextFile.
- Added Window.Resizable and Window.SetResizable.
- Added Window.ShowsToolbarButton and Window.SetShowsToolbarButton to hide toolbar button on Mac OS X.
- Added String.ReplaceNewline function.
- Added Window.HideScrollbars and Window.ShowScrollbars function.
- Added CGPSConverter.Convert function.
- Fixed bug with Progress Dialog on Windows (progressbar jumped).
- Fixed a bug with dpi value not used right for PDF image creation.
- Window functions now only work for Mac with Cocoa. So we now require Filemaker 8.5 or newer on Mac for all functions touching windows.
- Updated Form Utility.
- Our Drag and Drop functions can’t work on Windows as Filemaker overwrites plugin there.
- WebView.RenderImage now really has image type optional.
- Plugin Version function returns version now in format 2.4.0.xx where xx is the build number.
- Now includes Intel only version of plugin. You need that for a Runtime in the Apple Mac App Store.
- Graphicsmagick image references are now validated before being used. This avoids some trouble.
- Graphicsmagick functions WriteTo*Container now check if compression works.
- Window.SetCloseButton can now enable close button on runtimes on Windows.
- RTF function now handles unicode characters.
- Runtime solutions show first License dialog on first function call. (without license).
- Registration dialog now shows plugin version and last called function.
- Moving error handling so we return LastError to Filemaker instead of error message. So check lasterror of all plugin calls.
- + MBS Filemaker Plugin 2.3 - 27th April 2011.
- Added Window.ShowOverlay and Window.HideOverlay.
- Added Window.AsPDF function.
- Added WebView.SearchText.
- Added PDF functions which return a reference instead of a container value: GetPDFPagesPDFRef, GetPDFPagePDFRef and CombineRef.
- Added PDFKit functions: Combine, GetPDFAttribute, SetPDFAttribute, OpenContainer, OpenURL and OpenPath.
- Added functions: UUID.Raw, UUID.Hex and UUID.Formatted.
- Added parameters for Window.ShowOverlay.
- Added Icon.GetIcon function.
- Added Icon.GetIconWithQuickLook function.
- Changed some windows compile settings to use secure CRT functions.
- Fixed linking bug with libcrypto so the plugin loads again on Mac OS X 10.4 and 10.5.
- + MBS Filemaker Plugin 2.3 - 27th April 2011.
- Added Window.ShowOverlay and Window.HideOverlay.
- Added Window.AsPDF function.
- Added WebView.SearchText.
- Added PDF functions which return a reference instead of a container value: GetPDFPagesPDFRef, GetPDFPagePDFRef and CombineRef.
- Added PDFKit functions: Combine, GetPDFAttribute, SetPDFAttribute, OpenContainer, OpenURL and OpenPath.
- Added functions: UUID.Raw, UUID.Hex and UUID.Formatted.
- Added parameters for Window.ShowOverlay.
- Added Icon.GetIcon function.
- Added Icon.GetIconWithQuickLook function.
- Changed some windows compile settings to use secure CRT functions.
- Fixed linking bug with libcrypto so the plugin loads again on Mac OS X 10.4 and 10.5.
- + MBS Filemaker Plugin 2.2 - 25th January 2011.
- Added Validate.FindReceipt, Validate.Exit and Validate.CheckReceipt functions. Useful for creating software for Apples App Store.
- Added Log function.
- Added Msgbox function.
- Added WebView.GetImageCount and WebView.GetImage functions.
- Added Window.ShowContent and Window.HideContent.
- Added Window.Move for animated window move.
- Added Window.Resize to resize a window animated on Mac OS X and Windows.
- Added PDFKit.GetPDFPagesPDF.
- Added PDFKit.Open and PDFKit.Release.
- Added PDFKit.GetPDFDocument. Useful to add icon.
- Added PDFKit.GetPDFPagePDF.
- Added optional filename parameter to WebView.GetSourceData function.
- Added WebView.SetPreferences and WebView.GetPreferences functions.
- Added Math.InsidePolygon function to test if a point is inside of a polygon.
- Added WebView.GetURL to query current URL.
- + MBS Filemaker Plugin 2.2 - 25th January 2011.
- Added Validate.FindReceipt, Validate.Exit and Validate.CheckReceipt functions. Useful for creating software for Apples App Store.
- Added Log function.
- Added Msgbox function.
- Added WebView.GetImageCount and WebView.GetImage functions.
- Added Window.ShowContent and Window.HideContent.
- Added Window.Move for animated window move.
- Added Window.Resize to resize a window animated on Mac OS X and Windows.
- Added PDFKit.GetPDFPagesPDF.
- Added PDFKit.Open and PDFKit.Release.
- Added PDFKit.GetPDFDocument. Useful to add icon.
- Added PDFKit.GetPDFPagePDF.
- Added optional filename parameter to WebView.GetSourceData function.
- Added WebView.SetPreferences and WebView.GetPreferences functions.
- Added Math.InsidePolygon function to test if a point is inside of a polygon.
- Added WebView.GetURL to query current URL.
- + MBS Filemaker Plugin 2.1 - 26th October 2010.
- Added String.RemoveAccents.
- Added String.RemoveAccentsCaseInsensitive.
- Added String.SoundEx.
- Added WebView.SetPrintParameter.
- Added WebView.GetPrintParameter.
- Added WebView.RenderImage.
- Added PDFKit.GetPDFPageCount.
- Added PDFKit.GetPDFPageText.
- Added PDFKit.GetPDFText.
- Added PDFKit.GetPDFPageImage.
- Added a new WebView.GetSourceData function (For Mac).
- Added WebView.LoadURL function.
- Added WebView.LoadJavascriptURL function.
- Improved WebView.GetFormSelectValue and WebView.SetFormSelectValue to work with multiple selections. Multiple values are comma separated.
- Fixed printing Webviews on Mac to not center them vertically.
- Fixed a bug in the JPEG functions so they work again.
- Fixed Container.GetTypes which was named Container.GetType in 2.0 release.
- Fixed a bug with callback from webviewer to Filemaker 11.
- + MBS Filemaker Plugin 2.1 - 26th October 2010.
- Added String.RemoveAccents.
- Added String.RemoveAccentsCaseInsensitive.
- Added String.SoundEx.
- Added WebView.SetPrintParameter.
- Added WebView.GetPrintParameter.
- Added WebView.RenderImage.
- Added PDFKit.GetPDFPageCount.
- Added PDFKit.GetPDFPageText.
- Added PDFKit.GetPDFText.
- Added PDFKit.GetPDFPageImage.
- Added a new WebView.GetSourceData function (For Mac).
- Added WebView.LoadURL function.
- Added WebView.LoadJavascriptURL function.
- Improved WebView.GetFormSelectValue and WebView.SetFormSelectValue to work with multiple selections. Multiple values are comma separated.
- Fixed printing Webviews on Mac to not center them vertically.
- Fixed a bug in the JPEG functions so they work again.
- Fixed Container.GetTypes which was named Container.GetType in 2.0 release.
- Fixed a bug with callback from webviewer to Filemaker 11.
- + MBS Filemaker Plugin 2.0 - 16th March 2010.
- Added Functions to call functions in your applications over a TCP/IP socket.
- Added URL Scheme functions on Mac OS X.
- Added GraphicsMagick methods for image manipulation.
- Fixed a bug in WebView.FindWindowByTitle. Now it should work again as promised.
- Removed PHP functions.
- + MBS Filemaker Plugin 2.0 - 16th March 2010.
- Added Functions to call functions in your applications over a TCP/IP socket.
- Added URL Scheme functions on Mac OS X.
- Added GraphicsMagick methods for image manipulation.
- Fixed a bug in WebView.FindWindowByTitle. Now it should work again as promised.
- Removed PHP functions.
- + MBS Filemaker Plugin 1.8 - 8th December 2009.
- The SystemInfo.OSVersionString function now detects Windows 7.
- Added WebView.Print.
- Added WebView.GetLinkCount and WebView.GetLink functions.
- Added optional parameter for Get/Set methods for form fields to specify whether only visible fields should be checked.
- + MBS Filemaker Plugin 1.8 - 8th December 2009.
- The SystemInfo.OSVersionString function now detects Windows 7.
- Added WebView.Print.
- Added WebView.GetLinkCount and WebView.GetLink functions.
- Added optional parameter for Get/Set methods for form fields to specify whether only visible fields should be checked.
- + MBS Filemaker Plugin 1.7 - 2nd April 2009.
- Replace the existing callback with new code using the status field. This works with IE7.
- Changed code to search for a webview to work better with borders.
- + MBS Filemaker Plugin 1.7 - 2nd April 2009.
- Replace the existing callback with new code using the status field. This works with IE7.
- Changed code to search for a webview to work better with borders.
- + MBS Filemaker Plugin 1.6 - 10th December 2008
- Added functions for running slideshows on Mac OS X.
- Added Container.Export.
- The registration function can now be called as often as you want with the correct code without failing.
- Webviews can now have the statusbar and the plugin still finds them.
- Added WebView.GetFormCount.
- Added WebView.GetForm.
- + MBS Filemaker Plugin 1.6 - 10th December 2008
- Added functions for running slideshows on Mac OS X.
- Added Container.Export.
- The registration function can now be called as often as you want with the correct code without failing.
- Webviews can now have the statusbar and the plugin still finds them.
- Added WebView.GetFormCount.
- Added WebView.GetForm.
- + MBS Filemaker Plugin 1.5 - 5th February 2008
- Added SystemInformation module.
- Added Window Transitions.
- Added WebView.GetSource function to get the webview html source code.
- PHP is now external on Mac, so you need to use the Load function to load the PHP library. For example you copy the php dylib file to your root folder and you can load it with the path “/libphp5.dylib”.
- Fixed a bug with the plugin not finding the correct webview on windows.
- + MBS Filemaker Plugin 1.5 - 5th February 2008
- Added SystemInformation module.
- Added Window Transitions.
- Added WebView.GetSource function to get the webview html source code.
- PHP is now external on Mac, so you need to use the Load function to load the PHP library. For example you copy the php dylib file to your root folder and you can load it with the path “/libphp5.dylib”.
- Fixed a bug with the plugin not finding the correct webview on windows.
- + MBS Filemaker Plugin 1.4 - 19th September 2007
- Beta
- Fixed JPEG functions.
- Fixed WebView find code.
- Alpha 6
- Added PHP functions for Windows.
- Added MBS(“PHP.Load”;PathText) which loads the dll. On Mac OS X it returns always OK. On Windows you need to pass a path to the php5ts.dll file.
- Added callback from PHP to Filemaker for evaluate: MBS(“PHP.Run”;”echo FMExecuteSQL(“select * from FileMaker_Tables”);”). Will give a list of tables as text result. A second parameter (a number) specifies the column delimiter (default is 9 for tab) and a third parameter (a number) specifies the row delimiter (default is 13 for return).
- Alpha 5
- Added PHP functions for Mac OS X.
- Added MBS(“PHP.ExistsVariable”;VariableName) to return a boolean.
- Added MBS(“PHP.GetVariable”;VariableName) to return a global variable as text.
- Added MBS(“PHP.SetVariable”;VariableName;TextValue) to set a global variable.
- Added MBS(“PHP.Run”;ScriptCode) to run a script. Will return OK on success or an error on bad syntax.
- Added MBS(“PHP.Init”) to initialize PHP.
- Added MBS(“PHP.ShutDown”) to shutdown PHP.
- Added MBS(“PHP.GetResultString”) to return the output of the last PHP script as text.
- Added callback from PHP to Filemaker: FMScript(Database, ScriptName, Parameter). Use like this: MBS(“PHP.Run”;”echo FMScript(“”MBS_Tester”",”"Hello”",”"Just a test”");”). The third parameter is optional.
- Added callback from PHP to Filemaker for evaluate: MBS(“PHP.Run”;”echo FMEvaluate(“”1+2″”);”). Will give 3 as result.
- Note: All text to PHP is converted to ISO-Latin1 encoding. All text coming back is interpreted as being ISO-Latin1.
- The Webview find code can now find a webview even if you have two records visible which each a webview. It will find the one for the current record. On windows you need to pass the window handle of the child window.
- Alpha 4
- On WebView functions which accept a WebViewID, you can pass the number for the ID or the name of the WebView on your layout. The plugin will check in the frontmost window if there is a webview with this name and take it. This is a shortcut which may easy break. For example it will not work if you have the dialog visible which asks you to register the plugins.
- Added MBS(“WebVIew.ClickInput”;WebViewID;FormName or FormIndex;InputName or InputIndex).
- Added MBS(“WebView.IsLoading”;WebViewID) to return true if the webpage is still being loaded.
- Added MBS(“WebView.FormSubmit”;WebViewID;FormName or FormIndex) to submit a form.
- Added MBS(“WebView.FormReset”;WebViewID;FormName or FormIndex) to reset a form.
- Added MBS(“WebView.GetFormButtonValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of an button element.
- Added MBS(“WebView.SetFormButtonValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of an button element.
- Added MBS(“WebView.GetFormInputChecked”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get checked value of an input element.
- Added MBS(“WebView.SetFormInputChecked”;WebViewID;FormName or FormIndex;InputName or InputIndex;Boolean) to set a checked value of an input element.
- Added MBS(“WebView.GetFormTextAreaValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of a textarea element.
- Added MBS(“WebView.SetFormTextAreaValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of a textarea element.
- Added MBS(“WebView.GetFormInputValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of an input element.
- Added MBS(“WebView.SetFormInputValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of an input element.
- SetFormValue and GetFormValue are now mapped to SetFormInputValue and GetFormInputValue.
- Renamed RunJavaScriptToTitle to RunJavaScriptReturnTitle.
- Alpha 3
- Fixed an issue with a WebViewer. The wrong webviewer was found which is now fixed.
- Added MBS(“WebView.GetTitle”;WebViewID) to query the current document title.
- Added MBS(“WebView.SetTitle”;WebViewID;Text) to set the document title. Same as javascript “document.title=Text;”.
- Added MBS(“WebView.RunJavaScriptToTitle”;WebViewID;JavaScriptSource) to run javascript. The Javascript stores result on document.title and the script will return this title string.
- Alpha 2
- SetFormValue and GetFormValue now work for Input, TextArea and Button elements.
- Container.GetDataURL now only needs one parameter.
- If you use the WebView Callbacks with an empty filename, you will call Evaluate on the text in the scriptname parameter.
- Improved Webview.Reload to no longer leak memory.
- Improved Webview.SetFormValue and GetFormValue to no longer leak memory and return better error messages. On Windows the form name is no longer used to identify the field.
- Added MBS(“Container.GetDataURL”; container) to return a Tiff, PNG, GIF or JPEG image as a data url.
- Added MBS(“Container.GetBase64″; container; index or type) to return the content of this data as a base64 encoded string.
- Added MBS(“Container.GetCount”; container) to return the number of types inside.
- Added MBS(“Container.GetType”; container; index or type) to return the type at the given index (zero based).
- Added MBS(“Container.GetSize”; container; index or type) to return the size in bytes of the item at the given index (zero based).
- Added MBS(“Functions”) to return a list of all plugin functions.
- Added MBS(“WebView.Release”; WebViewRef) to free a webview reference.
- Added MBS(“WebView.FindWindowByIndex”; index) – find a window by index – Parameters: Index.
- Added WebView.FindWindowByTitle – find a window by title – Parameters: textvalue.
- Beta
- + MBS Filemaker Plugin 1.4 - 19th September 2007
- Beta
- .
- Fixed JPEG functions.
- Fixed WebView find code.
.
- Alpha 6
- .
- Added PHP functions for Windows.
- Added MBS(“PHP.Load”;PathText) which loads the dll. On Mac OS X it returns always OK. On Windows you need to pass a path to the php5ts.dll file.
- Added callback from PHP to Filemaker for evaluate: MBS(“PHP.Run”;”echo FMExecuteSQL(“select * from FileMaker_Tables”);”). Will give a list of tables as text result. A second parameter (a number) specifies the column delimiter (default is 9 for tab) and a third parameter (a number) specifies the row delimiter (default is 13 for return).
.
- Alpha 5
- .
- Added PHP functions for Mac OS X.
- Added MBS(“PHP.ExistsVariable”;VariableName) to return a boolean.
- Added MBS(“PHP.GetVariable”;VariableName) to return a global variable as text.
- Added MBS(“PHP.SetVariable”;VariableName;TextValue) to set a global variable.
- Added MBS(“PHP.Run”;ScriptCode) to run a script. Will return OK on success or an error on bad syntax.
- Added MBS(“PHP.Init”) to initialize PHP.
- Added MBS(“PHP.ShutDown”) to shutdown PHP.
- Added MBS(“PHP.GetResultString”) to return the output of the last PHP script as text.
- Added callback from PHP to Filemaker: FMScript(Database, ScriptName, Parameter). Use like this: MBS(“PHP.Run”;”echo FMScript(“”MBS_Tester”",”"Hello”",”"Just a test”");”). The third parameter is optional.
- Added callback from PHP to Filemaker for evaluate: MBS(“PHP.Run”;”echo FMEvaluate(“”1+2″”);”). Will give 3 as result.
- Note: All text to PHP is converted to ISO-Latin1 encoding. All text coming back is interpreted as being ISO-Latin1.
- The Webview find code can now find a webview even if you have two records visible which each a webview. It will find the one for the current record. On windows you need to pass the window handle of the child window.
.
- Alpha 4
- .
- On WebView functions which accept a WebViewID, you can pass the number for the ID or the name of the WebView on your layout. The plugin will check in the frontmost window if there is a webview with this name and take it. This is a shortcut which may easy break. For example it will not work if you have the dialog visible which asks you to register the plugins.
- Added MBS(“WebVIew.ClickInput”;WebViewID;FormName or FormIndex;InputName or InputIndex).
- Added MBS(“WebView.IsLoading”;WebViewID) to return true if the webpage is still being loaded.
- Added MBS(“WebView.FormSubmit”;WebViewID;FormName or FormIndex) to submit a form.
- Added MBS(“WebView.FormReset”;WebViewID;FormName or FormIndex) to reset a form.
- Added MBS(“WebView.GetFormButtonValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of an button element.
- Added MBS(“WebView.SetFormButtonValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of an button element.
- Added MBS(“WebView.GetFormInputChecked”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get checked value of an input element.
- Added MBS(“WebView.SetFormInputChecked”;WebViewID;FormName or FormIndex;InputName or InputIndex;Boolean) to set a checked value of an input element.
- Added MBS(“WebView.GetFormTextAreaValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of a textarea element.
- Added MBS(“WebView.SetFormTextAreaValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of a textarea element.
- Added MBS(“WebView.GetFormInputValue”;WebViewID;FormName or FormIndex;InputName or InputIndex) to get value of an input element.
- Added MBS(“WebView.SetFormInputValue”;WebViewID;FormName or FormIndex;InputName or InputIndex;Text) to set a value of an input element.
- SetFormValue and GetFormValue are now mapped to SetFormInputValue and GetFormInputValue.
- Renamed RunJavaScriptToTitle to RunJavaScriptReturnTitle.
.
- Alpha 3
- .
- Fixed an issue with a WebViewer. The wrong webviewer was found which is now fixed.
- Added MBS(“WebView.GetTitle”;WebViewID) to query the current document title.
- Added MBS(“WebView.SetTitle”;WebViewID;Text) to set the document title. Same as javascript “document.title=Text;”.
- Added MBS(“WebView.RunJavaScriptToTitle”;WebViewID;JavaScriptSource) to run javascript. The Javascript stores result on document.title and the script will return this title string.
.
- Alpha 2
- .
- SetFormValue and GetFormValue now work for Input, TextArea and Button elements.
- Container.GetDataURL now only needs one parameter.
- If you use the WebView Callbacks with an empty filename, you will call Evaluate on the text in the scriptname parameter.
- Improved Webview.Reload to no longer leak memory.
- Improved Webview.SetFormValue and GetFormValue to no longer leak memory and return better error messages. On Windows the form name is no longer used to identify the field.
- Added MBS(“Container.GetDataURL”; container) to return a Tiff, PNG, GIF or JPEG image as a data url.
- Added MBS(“Container.GetBase64″; container; index or type) to return the content of this data as a base64 encoded string.
- Added MBS(“Container.GetCount”; container) to return the number of types inside.
- Added MBS(“Container.GetType”; container; index or type) to return the type at the given index (zero based).
- Added MBS(“Container.GetSize”; container; index or type) to return the size in bytes of the item at the given index (zero based).
- Added MBS(“Functions”) to return a list of all plugin functions.
- Added MBS(“WebView.Release”; WebViewRef) to free a webview reference.
- Added MBS(“WebView.FindWindowByIndex”; index) – find a window by index – Parameters: Index.
- Added WebView.FindWindowByTitle – find a window by title – Parameters: textvalue.
.
- Beta
- + MBS Filemaker Plugin 1.3 - 31st July 2007
- Added WebView.Reload – reloads a webview – Parameters: WebViewRef.
- Added WebView.InstallCallback – installs function to call Filemaker from Javascript – no parameters.
- Added WebView.GetFormValue – get a form field text – Parameters: WebViewID, FormName, FieldName.
- Added WebView.SetFormValue – get a form field text – Parameters: WebViewID, FormName, FieldName, Value.
- MBS( “Container.GetHeight”; mycontainer) return the container height in pixel.
- MBS( “Container.GetWidth”; mycontainer) return the container width in pixel.
- MBS( “Container.GetTypes” ;mycontainer ) returns something like “FNAM, FORK, JPEG, SIZE” for a JPEG file.
- MBS( “Container.GetTotalSize” ;mycontainer ) returns the total size of the whole container.
- MBS( “Container.GetTypeSize” ;mycontainer;”JPEG” ) returns the type for a given item. e.g. for a JPEG file in this container.
- MBS( “Container.GetJPEGHeight”; mycontainer) return the JPEG file height in pixel.
- MBS( “Container.GetJPEGWidth”; mycontainer) return the JPEG file width in pixel.
- MBS( “Container.GetJPEGHeightResolution”; mycontainer) return the JPEG file resolution for height in pixel per inch.
- MBS( “Container.GetJPEGWidthResolution”; mycontainer) return the JPEG file resolution for width in pixel per inch.
- Added FM.ExecuteSQLOnIdle – execute sql on next idle event – Parameters: SQLCommand; FileName; ScriptName; ColumnSep; RowSep.
- Added WebView.FindByName – finds a webview by name – Parameters: WindowRef, Name.
- Added WebView.RunJavaScript – runs javascript code – Parameters: WebViewRef, Codestring.
- + MBS Filemaker Plugin 1.3 - 31st July 2007
- Added WebView.Reload – reloads a webview – Parameters: WebViewRef.
- Added WebView.InstallCallback – installs function to call Filemaker from Javascript – no parameters.
- Added WebView.GetFormValue – get a form field text – Parameters: WebViewID, FormName, FieldName.
- Added WebView.SetFormValue – get a form field text – Parameters: WebViewID, FormName, FieldName, Value.
- MBS( “Container.GetHeight”; mycontainer) return the container height in pixel.
- MBS( “Container.GetWidth”; mycontainer) return the container width in pixel.
- MBS( “Container.GetTypes” ;mycontainer ) returns something like “FNAM, FORK, JPEG, SIZE” for a JPEG file.
- MBS( “Container.GetTotalSize” ;mycontainer ) returns the total size of the whole container.
- MBS( “Container.GetTypeSize” ;mycontainer;”JPEG” ) returns the type for a given item. e.g. for a JPEG file in this container.
- MBS( “Container.GetJPEGHeight”; mycontainer) return the JPEG file height in pixel.
- MBS( “Container.GetJPEGWidth”; mycontainer) return the JPEG file width in pixel.
- MBS( “Container.GetJPEGHeightResolution”; mycontainer) return the JPEG file resolution for height in pixel per inch.
- MBS( “Container.GetJPEGWidthResolution”; mycontainer) return the JPEG file resolution for width in pixel per inch.
- Added FM.ExecuteSQLOnIdle – execute sql on next idle event – Parameters: SQLCommand; FileName; ScriptName; ColumnSep; RowSep.
- Added WebView.FindByName – finds a webview by name – Parameters: WindowRef, Name.
- Added WebView.RunJavaScript – runs javascript code – Parameters: WebViewRef, Codestring.
- + MBS Filemaker Plugin 1.2 - 2nd May 2007
- Added Window.SetTitle – sets window title – Parameters: WindowRef, textvalue.
- Added FM.ExecuteSQL.LastError – returns last error code after ExecuteSQL. e.g. 106 for a missing table, 200 for access denied or 1200 for a calculation error.
- Added FM.RunScript – triggers a script now – Parameters: filename, scriptname, textparameter.
- Added FM.RunScriptLater – triggers a script in a few seconds – Parameters: seconds, filename, scriptname, textparameter.
- Added FM.Evaluate – evaluates expression – Parameters: text.
- Added FM.ExecuteSQL – executes sql command – Parameters: variablename, columnseparator, rowseparator.
- Added FM.VariableSet – sets variable – Parameters: variablename, textvalue.
- Added FM.VariableGet – gets variable – Parameters: variablename.
- Added FM.VariableClear – clears variable – Parameters: variablename.
- Window.HasCloseButton now works on Windows correctly.
- Changed boolean return values to be real booleans. Using GetAsBoolean should no longer be needed.
- + MBS Filemaker Plugin 1.2 - 2nd May 2007
- Added Window.SetTitle – sets window title – Parameters: WindowRef, textvalue.
- Added FM.ExecuteSQL.LastError – returns last error code after ExecuteSQL. e.g. 106 for a missing table, 200 for access denied or 1200 for a calculation error.
- Added FM.RunScript – triggers a script now – Parameters: filename, scriptname, textparameter.
- Added FM.RunScriptLater – triggers a script in a few seconds – Parameters: seconds, filename, scriptname, textparameter.
- Added FM.Evaluate – evaluates expression – Parameters: text.
- Added FM.ExecuteSQL – executes sql command – Parameters: variablename, columnseparator, rowseparator.
- Added FM.VariableSet – sets variable – Parameters: variablename, textvalue.
- Added FM.VariableGet – gets variable – Parameters: variablename.
- Added FM.VariableClear – clears variable – Parameters: variablename.
- Window.HasCloseButton now works on Windows correctly.
- Changed boolean return values to be real booleans. Using GetAsBoolean should no longer be needed.
- + MBS Filemaker Plugin 1.1 - 31st October 2006
- Now FileMaker 7 Compatible!.
- Run VBScripts or JScripts from FileMaker.
- Trigger FileMaker Scripts via calculations.
- Disable the window widgets. Turn of “Close”, “Zoom”, and “Minimize”.
- Turn the Window Shadow on OSX on or off.
- Set the Application Window Size and Position on Windows OS.
- + MBS Filemaker Plugin 1.1 - 31st October 2006
- Now FileMaker 7 Compatible!.
- Run VBScripts or JScripts from FileMaker.
- Trigger FileMaker Scripts via calculations.
- Disable the window widgets. Turn of “Close”, “Zoom”, and “Minimize”.
- Turn the Window Shadow on OSX on or off.
- Set the Application Window Size and Position on Windows OS.
- + MBS Filemaker Plugin 1.0
- Initial Release.
- + MBS Filemaker Plugin 1.0
- Initial Release.