The DynaPDF version 4.0.62.160 showed up and features the use of the new \dl# tag to double underline text.
Our code for
DynaPDF.ConvertStyledText in the
MBS FileMaker Plugin got updated and other functions like
DynaPDF.WriteStyledText will use this, too. So you can now pass styled text from FileMaker to our plugin and we can convert the styled text and preserve the double underline.
Coming soon with next pre-release.
Having two copies of MBS Plugin installed/loaded at the same time can cause various problems. Functions get loaded, but we internally can't know which version gets called. This may cause crashes, if old and new versions have incompatible data structures.
Our plugin has code to detect duplicate versions and it can show this kind of dialog on the right.
Now it seems to happen, that a few customers run into an issue, where this dialog would show when updating a plugin.
FileMaker has an MBS Plugin version loaded. Then the Install Plugin script step writes the new plugin to the same location. FileMaker loads the new plugin, but the OS sees that the plugin with that path is already loaded. FileMaker gets the old plugin again, calls initialize function and this was detects it was called before.
With version 11.5pr5, we put in a check to prevent this. The new plugin ignores if old and new path are the same, but will complain if you have two copies in different Extensions folders. This should fix trouble for the clients mentioned above.
Nowadays we live in a connected world, so web services run on different computers and sometimes need to notify each other. They usually do that with sending a HTTP request to a given URL and pass on some data as part of the URL or e.g. a JSON block as payload. FileMaker has no built-in web hook feature and with FileMaker Server you can do some things with DATA API or a custom php script on the web server part.
Our
MBS FileMaker Plugin in version 11.5 comes with a new WebHook functionality. You can open a receiver to listen on a port for an incoming request and trigger a script to process the query. Our plugin provides maximum flexibility as you can create listeners as needed by script and stop them when the job is done.
Let's say you have a phone system, which can trigger you for a new incoming call. You configure for each phone an URL to trigger for that computer and have FileMaker listen on that computer for the given port. In our examples we use port 9999, but that could be any number chosen by you between 1024 and 65535. Please don't use ports other application want to use like port 5003 for FileMaker. If the IP on the local network for our workstation is 192.168.0.123, we could have the following URL triggered by the phone system:
http://192.168.0.123:9999/incomingcall
As you see we built an URL with http for the protocol. If needed, we could do https with TLS v1.2, but that needs a SSL certificate of course. If you like to simulate this, you could open a browser and enter the URL or run curl in the Terminal window:
curl -v http://localhost:9999/incomingcall
(more)
New in this prerelease of version 11.5 of the MBS FileMaker Plugin:
- Updated DynaPDF to version 4.0.61.159.
- Added Float 16bit support for CoreML functions.
- Updated Xcode to version 13.1.
- Fixed a problem with removeObserver for macOS Monterey.
- Added fraudulentWebsiteWarningEnabled and textInteractionEnabled settings for WebView.GetPreferences and WebView.SetPreferences functions.
- Fixed an edge case for WordFile.Substitute not working correctly for text near the end of the document.
Download at
monkeybreadsoftware.com/filemaker/files/Prerelease/, in
Dropbox folder or ask for being added to the dropbox shared folder.
For
MBS FileMaker Plugin version 11.5 we got a few new improvements for the syntax coloring.
First,
SyntaxColoring.AddTag can now do formula tags with wild cards. Just define a tag with stars on beginning and end to get that color rule applied on the end over all other rules:
MBS( "SyntaxColoring.AddTag"; "formula"; "*deprecated*"; "red" )
This rule would mark everything with deprecated in a formula text with red color. Great if you have fields you want to get rid off. Rename the field to have deprecated in the name and then walk your way through calculations to easily spot the field name.
We got a new way to color comments in calculations. When we detect a comment with // or /* in your calculation, we can pick up the first word after that and lookup if a special color is defined. We look first in formula colors and then in script step colors for this with the # prefix. For example you may define a generic comment color. Then maybe define a few more special colors like one for #todo, another one for #fixme or one for #warning.
We hope those coloring options help you. Check the new
fmSyntaxColorizer for a clever GUI to setup all the options or do it yourself via our SyntaxColoring functions.
Join Russell Watson tonight on
FMTraining.tv live broadcast talking about
fmSyntaxColorizer.
New in this prerelease of version 11.5 of the MBS FileMaker Plugin:
Download at
monkeybreadsoftware.com/filemaker/files/Prerelease/, in
Dropbox folder or ask for being added to the dropbox shared folder.
You know a web viewer showing white background?
If you use
WebView.SetDrawsBackground function with next
MBS FileMaker Plugin, you can disable it and turn the web viewer into transparent mode:
So far transparency works on macOS and iOS and may help you to design improved JavaScript-based controls.
Coming soon with next pre-release.
Vom 22. bis 24. Juni 2022 findet die elfte deutschsprachige
FileMaker Konferenz in Hamburg, Deutschland statt. Das JUFA Hotel Hamburg HafenCity liegt direkt neben dem Ausgang der U-Bahn Station HafenCity Universität, nur drei Stationen vom Hauptbahnhof via U4, so dass sich die Anreise per Bahn empfiehlt. FileMaker Anwender und Entwickler können ihre Teilnahme bald buchen.
Möchten Sie Sponsor oder Sprecher werden?
Aktuell sucht der FMK Verein Vorschläge für interessante Vorträge.
Die Veranstalter vom Verein FM Konferenz erwarten auch 2022 rund 180 Entwickler, Anwender, IT-Fachleute und Entscheidungsträger aus Wirtschaft, Bildung und Verwaltung. Rund um über 25 Fachvorträge und Workshops wird es viel Zeit zum Vernetzen in den gemeinsamen Pausen und beim Abendprogramm geben.
Gibt es Interesse an einem MBS Plugin Workshop am Tag vor der Konferenz?
New in this prerelease of version 11.5 of the MBS FileMaker Plugin:
Download at
monkeybreadsoftware.com/filemaker/files/Prerelease/, in
Dropbox folder or ask for being added to the dropbox shared folder.
Due to current events in an office nearby, here again an announcement announcement for all database developers:
Please treat the following numbers as text for processing and storing in a database.
Zip codes
While we call them zip numbers in Germany and they are just five digits here, a zip code may contain various other characters like letters, spaces and dashes. e.g. "SW1A 1AA" is a valid zip code in the United Kingdom. The length of post codes may be over 10 characters in some places and contain leading zeros. In Argentina even a plus may be used like "46C2+32".
Invoice Numbers
The number on an invoice, an offer or an order often has a scheme defined by the used software. Some companies use dashes to separate sections of the number like year-branch-number to give each shop branch their own running count for invoices. We have seen invoices numbers with prefix or postfix to indicate branches or types of invoices.
(more)
Sometimes you may want to know how much text fits a certain space or reduce text to fit. The common problem is that you have a long text like "Johannes Zimmermann" and the field is too small to fit the whole text. Then FileMaker may only show "Johannes" and the whole surname wraps to second line.
Our plugin can help and offers a few functions related to fonts. For example
Font.CalculateTextWidth can calculate the length of a text in points, so you know whether text will fit.
MBS( "
Font.CalculateTextWidth"; "Hello World"; "Arial"; 12 )
Your calculation may for example detect that the whole name doesn't fit. But maybe "Mr. Zimmermann" fits and then you may use that one.
Now if you like to know whether text will fit in height, you can use
Font.CalculateTextHeight functions.
MBS( "
Font.CalculateTextHeight"; "Hello World. Just a test."; 100; "Arial"; 12 )
This would use 100 points as wrap limit, so we get a second row of text. The height returned here should be something like 36 points. The actual numbers are not identical for macOS and Windows since both OS have their own way of anti aliasing and get different sizes for various letters, even for the same font.
The third function
Font.CalculateTextFits will take a text and return the number of characters, that fit in a given space.
MBS( "
Font.CalculateTextFits"; "Hello World"; 50; "Arial"; 12)
This may return 8 here as 50 points don't fit the full text "Hello World", but only "Hello Wo". Your script may then decide to cut two more characters and put in three dots.
A specialty is that the font parameter can be a font name specifying the exact font if needed on macOS. Since Arial bold has a separate font file called Arial-BoldMT, you can specify that to pick the bold font.
New in this prerelease of version 11.5 of the MBS FileMaker Plugin:
Download at
monkeybreadsoftware.com/filemaker/files/Prerelease/, in
Dropbox folder or ask for being added to the dropbox shared folder.