Troi Activator Plug-in Changelog

What's new in Troi Activator Plug-in 9.0

Jan 25, 2024
  • Improved compatibility:
  • Tested and made compatible with Claris FileMaker Pro 20.3.1 (FileMaker Pro 2023)
  • Tested and made compatible with Claris FileMaker Pro 19 up to Claris FileMaker Pro 19.6.3.
  • Tested and made compatible with Claris Pro 40.2.
  • Tested and made compatible with macOS 13 (Ventura) and macOS 14 (Sonoma).
  • Tested and made compatible with Windows 11, including Windows 11 version 23H2 (October 31, 2023).
  • New functionality:
  • Improved the Add Folder Trigger script step and the Actr_AddFolderTrigger function: the maximum number of folders to watch (folder triggers) is now 10.
  • Improved the Start HTTP Server script step and Actr_StartHTTPServer function: you can now start a Secure (HTTPS) Server, by adding the switch “-RunSecureServer”.Note that for running a secure server you need to install a SSL Certificate. This can be a self signed certificate for testing purposes. See also Installing a SSL Certificate for Troi Activator HTTPS Server. Also note that when starting a secure server the default port number is also 54242. You may want to specify port number 443, which is the default port number for HTTPS as defined by the Internet Engineering Task Force. This port may already be in use by another web server on your computer.
  • Created new WebDirect_UploadImage.fmp12 example file to demonstrate uploading to the UploadServer from a database published with FileMaker WebDirect.
  • Other changes and improvements:
  • Improved the boilerplate HTML that the Upload Server will serve to a web browser, the web page will now have room for the image at the top.
  • Added switch “-GetStartupRegistrationLog” to the Actr_Version function. This will return a text log of the plug-in’s registration process at startup time of FileMaker Pro. When you have problems registering the plug-in, you can see if the payment certificate was found and if a valid registration code was found.
  • Added an example script to Version.fmp12, which gets the text log of the startup registration of the plug-in.
  • Improved the EasyInstallTroiPlugins.fmp12 example file (v1.8.6): added a script which adds the Startup Registration Log to the log field. This will get a text log of the startup registration process of the plug-in.
  • Improved the code in several places and made it more secure: instead of sprintf the code now uses snprintf.
  • Updated and improved the HTTPResponse.fmp12 example file to demonstrate the new HTTPS functionality.

New in Troi Activator Plug-in 8.0.1 (May 18, 2022)

  • (macOS) Fixed a problem where the plug-in would not load, and show a expired beta dialog.

New in Troi Activator Plug-in 8.0 (May 18, 2022)

  • Tested and made compatible with Claris FileMaker Pro 19.4.
  • Tested and made compatible with macOS 11.6 (Big Sur) and macOS 12 (Monterey).
  • Tested and made compatible with Windows 11 and Windows 10 version 21H2 (November 2021 Update).
  • Added initial support for the upcoming release of Claris Pro.
  • Improved the Upload Server functionality for text posted to the url “/posttext.html”: you can now allow any text to be uploaded to the server. To enable this add the switch “-AllowAnyPostedText” when starting the server with the Start HTTP Server script step or Actr_StartHTTPServer function. If you don’t add this switch the Upload Server will only handle incoming text that is formatted like this:
  • <TROI_TEXT_UTF8>
  • your UTF8 formatted text
  • </TROI_TEXT_UTF8>
  • Fixed a problem with the Upload Server functionality for text sent to the url “/posttext.html”: the plug-in no longer triggers a script when improperly formatted text or an empty string was posted.
  • Added Switches option to the Start HTTP Server script step.
  • (macOS) Fixed a bug that prevented the plug-in from loading in FileMaker Pro 16 (installing it would result in error code 1550).
  • (macOS) Fixed a problem on macOS 12 (Monterey) and FileMaker Pro 19.4, where the plug-in would not show the plug-in icon in the flash dialog.
  • (macOS) Updated the source code and project to a new version.
  • (Windows) Fixed a small memory leak when running the plug-in’s HTTP Server for extended periods of time.
  • Improved the folder trigger response for the Actr_AddFolderTrigger function.
  • IMPORTANT (macOS only) The minimum supported macOS version is now macOS 10.14 (Mojave).

New in Troi Activator Plug-in 7.0 (Jul 20, 2021)

  • New functionality:
  • Tested and made compatible with Claris FileMaker Pro 19.3.
  • (macOS) The plug-in now runs natively on Apple Silicon: made the plug-in a Universal binary by adding code for the arm64 architecture of macOS.
  • Tested and made compatible with macOS 11.4 (Big Sur).
  • Tested and made compatible with Windows 10 version 20H2 (October 2020 Update) and version 21H1 (May 2021 Update).
  • (Windows) Added echo functionality to the HTTP server when running on Windows. The plug-in will echo back the HTTP request, including the method and headers used. This can help with debugging an HTTP problem. The response can be either plain text or HTML formatted. To get a plain text echo send the request
  • Improved script triggering in several functions: the plug-in now also triggers scripts where the filename parameter contains a period in the name and the (.fmp12) extension was not included (the FileMaker function “Get(Filename)” will not include the extension).For example if the filename parameter given is “Contacts1.0” the plug-in now adds the .fmp12 extension, resulting in “Contacts1.0.fmp12”.
  • (Windows) Improved the Actr_AddFolderTrigger function: the memory handling is more efficient and robust.
  • Updated the example files to beter handle newer plug-in versions.
  • Other changes and improvements:
  • Changed a possible error code that can be returned by the Add Folder Trigger script step or the Actr_AddFolderTrigger function: when you hit the maximum number of folder triggers the plug-in now returns $$-4403 (kErrMaxNumberOfFolderTriggers). This was $$-4295, but this error code could also be returned by the Troi File Plug-in in a different situation (kErrCantOpenItem).
  • (macOS) Improved compatibility when running FileMaker Pro 19 in dark mode, the flash dialog is now more visible.
  • (macOS) Improved loading the plug-in with runtime apps created with FileMaker Pro 18.
  • (macOS) If the plug-in can’t load a bundle at start-up, the plug-in will now write a detailed error to the system.log. See the Console.app in this case (search for FileMaker in the system.log).
  • Updated the plug-in to use the latest libraries or modern frameworks where possible.
  • IMPORTANT (macOS only) The minimum supported FileMaker version is now FileMaker Pro 16. Also the minimum supported macOS version is now macOS 10.13 (High Sierra).

New in Troi Activator Plug-in 6.0.1 (May 26, 2020)

  • Tested and made compatible with Claris FileMaker Pro 19.
  • Tested and improved compatibility with macOS Catalina up to version 10.15.4.
  • Updated the examples and user guide for Claris FileMaker Pro 19.
  • (macOS) Removed unneeded log entry at startup.

New in Troi Activator Plug-in 6.0 (Apr 2, 2020)

  • New features:
  • Tested and made compatible with FileMaker Pro 18.
  • Tested and made compatible with macOS 10.15 (Catalina).
  • Tested and made compatible with Windows 10 up to version 1909 (November 2019 Update).
  • Added new Add Folder Trigger script step. It adds a folder action, which triggers a script when the monitored folder is changed.
  • Added new Remove Folder Trigger script step. It removes a previously added folder trigger.
  • Added new Actr_AddFolderTrigger function. It adds a folder action, which triggers a script when the monitored folder is changed.
  • Added new Actr_RemoveFolderTrigger function. It removes a previously added folder trigger.
  • Added a new FolderTrigger.fmp12 example file.
  • (macOS) Added echo functionality to the HTTP server. The plug-in will echo back the HTTP request, including the method and headers used. This can help with debugging an HTTP problem. The response can be either plain text or HTML formatted.
  • NOTE you need to change the URL to point to the Activator HTTP server.
  • TIP Use this functionality to test HTTP requests with custom headers you want to send with our Troi URL Plug-in.
  • Updated HTTPResponse.fmp12 to demonstrate the new Echo functionality.
  • Other changes and improvements:
  • Fixed a problem in the HTTP server where an empty POST request would block until timeout.
  • Small improvement to the HTTPResponse.fmp12 example file.
  • Fixed a typo (a URL) in the trigger.html test page.
  • Updated the EasyInstallTroiPlugins.fmp12 file, it can now remove the old Troi Activator Plug-in 4.5 without causing a crash. You no longer need to remove it manually.

New in Troi Activator Plug-in 5.0 (Apr 23, 2019)

  • New features:
  • Tested and made compatible with FileMaker Pro 17.0.4.
  • Added script triggering via a URL (using the GET HTTP method). This functionality is available on macOS and Windows. You can now trigger a script with a URL like this:
  • http://www.example.com:54242/triggerscript.html?yourText=someText
  • You can specify an (optional) password like this:
  • http://www.example.com:54242/triggerscript.html?yourText=showtime&password=secret
  • You can also add
  • waitForResponse=yes
  • to the triggerscript.html URL, for example likes this:
  • http://www.example.com:54242/triggerscript.html?waitForResponse=yes&yourText=getdatalist
  • In the triggered script you can then specify the response text with the Actr_SetHTTPResponse function or Set HTTP Response script step.
  • Added new Set HTTP Response script step, which sets the (HTML) text which is returned to the remote client in response to the HTTP URL request sent to the Activator Web Server.
  • Added new Actr_SetHTTPResponse function, which sets the (HTML) text which is returned to the remote client in response to the HTTP URL request sent to the Activator Web Server.
  • Added a new HTTPResponse.fmp12 example file.
  • The Activator Web Server functionality, including the Image Upload Server functionality, is now also available on Windows. This can be implemented with the function Actr_StartHTTPServer (see also the UploadData.fmp12 example).
  • Added code signing to the plug-in for Windows. (On macOS code signing was already added in version 4.5).
  • Updated the code base, the plug-in now uses more modern C++ libraries.
  • Other changes and improvements:
  • Improved the initialization when installing the plug-in with the FileMaker Pro “Install Plug-In File” script step.
  • Updated the EasyInstallTroiPlugins.fmp12 file, it can show additional error information from Get(LastExternalErrorDetail) when it is available. The EasyInstallTroiPlugins.fmp12 file can also run a test registration script for a plug-in after you have installed it on FileMaker Server.
  • Updated the UploadData.fmp12 example file to use OpenStreetMap for displaying a map when the data contains GPS coordinates.
  • Updated the example files for FileMaker Pro Advanced 17.
  • Made small corrections to the user guide.

New in Troi Activator Plug-in 4.5.1 (Dec 28, 2017)

  • Improved type-ahead of external function names.

New in Troi Activator Plug-in 4.0 (Jul 29, 2016)

  • Tested and made compatible with FileMaker Pro 15.
  • Tested and improved compatibility with Windows 10.
  • You can now schedule up to 1500 events to trigger, up from 1000.
  • Added description and type-ahead information for all functions of the plug-in. This extra function description will be shown in FileMaker Pro 15 in the Specify Calculation dialog box when you type a function name and also as a text popup in the functions pane on the right.
  • The type-ahead information is used by the auto complete functionality of FileMaker Pro 15. In the calculation pane of the Specify Calculation dialog box you can type a letter or two of the function name and instantly see a list of matching function names. For example when you type "sch", the auto complete functionality will suggest the Actr_ScheduleEvent function. You can also type a function name in the functions pane on the right: for example if you type "HTTP" you will see all the functions with HTTP in the name, like Actr_StartHTTPServer.
  • Improved the multi-threading behavior of the plug-in when running in FileMaker Pro 15.
  • Improved the example file EasyInstallTroiPlugins.fmp12, to provide more help when an installation error occurs.
  • Updated the UploadData.fmp12 example file: it now correctly shows a Google Map in a webviewer.
  • Fixed a possible memory leak in the HTTP Server when receiving GPS location data.
  • Fixed a typo in the web page of the http server.
  • Fixed several bugs, rewrote and modernized the code in several places and made further improvements.
  • Updated the User Guide and the Overview.fmp12 file.

New in Troi Activator Plug-in 3.6 (May 13, 2015)

  • Tested and made compatible with FileMaker Pro 14.
  • Added support for 64-bit architecture with FileMaker Pro 14: On OS X the 32-bit and 64-bit version is a single universal plug-in and on Windows there are 2 plug-ins: Troi_Activator.fmx (for 32-bit) and Troi_Activator.fmx64 (for 64-bit).
  • Improved the example file EasyInstallTroiPlugins.fmp12, to support the 64-bit version of FileMaker Pro 14.
  • Fixed a bug that could make FileMaker Pro 14 crash when showing a flash dialog.

New in Troi Activator Plug-in 3.5.4 (Nov 18, 2014)

  • Fixed a bug in the Actr_ScheduleEvent function, with the handling of daylight savings time. In some cases this could result in triggering 1 hour too early or getting error code $$-4226 (cannot schedule an event in the past) as result.
  • Improved the code in a few places.

New in Troi Activator Plug-in 3.5.3 (Jul 21, 2014)

  • (Windows) Fixed a bug in the Actr_ScheduleEvent function, with the handling of daylight savings time. This could result in triggering of scripts one hour too late.
  • Improved the code and the registration text shown in the log when running FileMaker Server.
  • Improved some code due to analysis.

New in Troi Activator Plug-in 3.5.2 (Feb 4, 2014)

  • Made compatible and tested with FileMaker Pro 13.
  • (Windows) Added support for 64-bit architecture: on Windows there are now 2 plug-ins: Troi_Activator.fmx (for 32-bit) and Troi_Activator.fmx64 (for 64-bit).
  • NOTE Only Filemaker Server and FileMaker WebDirect are 64-bit processes and require the Troi_Activator.fmx64 version to be installed. On OS X the 32-bit and 64-bit version is a single universal plug-in.
  • Improved the example file Remote: it now has far better support for running under FileMaker Server, with a built in log table, where FileMaker Server can log the execution of trigger scripts.
  • (Mac OS X) fixed a problem with the Upload Server: the webpage request with URL "/" now properly redirects to "index.html".
  • Improved the Actr_SendRemoteEvent functionality: the usertext parameter is no longer truncated when a pipe character is present; for this last parameter the pipe character is no longer treated as a separator.
  • Improved the EasyInstallTroiPlugins.fmp12 example file, adding support for installing plug-ins on FileMaker Server and for installing 64-bit Windows plug-ins, with extension fmx64.
  • Improved the code in several places.

New in Troi Activator Plug-in 3.5.1 (Oct 25, 2013)

  • This version no longer supports the switch "-DefaultInterface" in the function Actr_GetIPAddress(). It will result in the error $$-4243 (kErrNotImplemented).
  • Corrected incorrect text in preferences to :"This plug-in (for FileMaker 10, 11 and 12)...".

New in Troi Activator Plug-in 3.5 (Apr 22, 2013)

  • New functionality:
  • Added two new functions: Actr_Shutdown() and Actr_Restart(), which can shutdown and restart the computer.
  • The Actr_Sleep function now works on Mac and Windows. Also added a new switch "-sleepnow" to put the computer to sleep directly.
  • Mac OS X only) Extended the Upload Server functionality to be able to handle only text. You can post your text to the url "/posttext.html". The text needs to be formatted like this:
  • TROI_TEXT_UTF8>
  • your UTF8 formatted text
  • TROI_TEXT_UTF8>
  • Improved compatibility
  • Added compatibility with Windows 8.
  • Other improvements and fixes:
  • Fixed a problem where the plug-in could crash when the Image Upload Server functionality received unexpected formatted data without an image.
  • Fixed a problem where the plug-in would not correctly load when running as a server-side plug-in or as a web-side plug-in under FileMaker Server 12
  • Improved the example file GetIPAddrs.fp7, so that it now populates the correct field on windows.
  • Improved the layouts of the example files for IWP.
  • Updated the User Guide, several example files and Overview.fp7 to reflect the new functionality.

New in Troi Activator Plug-in 3.1 (Aug 3, 2012)

  • Made compatible and tested with FileMaker Pro 12.
  • FileVersion resource (on Windows) so it now reflects the correct version number.
  • Added new switch "-GetPluginInstallPath" to the Actr_Version function: This switch will return the path where a plug-in is installed, for example "/Mac HD/Users/User Name/Library/Application Support/FileMaker/Extensions/Troi_Activator.fmplugin".
  • Added new example file EasyInstallTroiPlugins.fmp12 (in the FileMaker Pro 12 formatted download only), which contains the plug-ins and can install the plug-in from within FileMaker Pro 12.
  • Corrected the path of logs files in the document filemaker-server-side-plug-ins.htm.

New in Troi Activator Plug-in 3.0 (Aug 3, 2012)

  • Made compatible with FileMaker Pro 10 and FileMaker Pro 11.
  • Added compatibility with Windows 7.
  • Added new switch to Actr_Version: -UnregisterPlugin. This will remove the registration data. The plug-in will be in an unregistered state after this. See the "Temporary Register Activator Plug-in" script in the file RegiFunc.fp7 for an example use.
  • Troi Activator Plug-in is now compatible to run under FileMaker Server. The plug-in now creates log files when running under FileMaker Server to make troubleshooting installing easier and provides feedback regarding errors and registration status.
  • Note that you need a special Server/Web license to use this plug-in on FileMaker Server. See our web site for details.
  • Added the plug-in's version number to the description in FileMaker's preference pane.
  • Updated the User Guide and Overview.fp7.

New in Troi Activator Plug-in 2.7 (Dec 20, 2009)

  • Added new switch "-GetAllEventsList" to the Actr_GetEventInfo function. This will return a tab separated list of all the events that the plug-in knows about, including future and triggered events.
  • Added new switch "-GetAllEventIDs" to the Actr_GetEventInfo function. This will return a list of all the eventIDs that the plug-in knows about, including future and triggered events.
  • Added new Actr_VersionAutoUpdate function. The Actr_VersionAutoUpdate function is part of an emerging standard for FileMaker plug-ins of third party vendors of plug-ins. The version number is returned in the format aabbccdd where every letter represents a digit of the level, so versions can be easily compared.
  • Improved the display and handling of registration codes.
  • Fixed a few bugs too.