To show and hide this bar, use the ListDialog.SetShowsFilter function. On the other hand you can show a bar in the list dialog itself where you can change the filter while the dialog is open. To do this, use the ListDialog.SetFilter function and specify the filter in the parameters. On the one hand you can set a filter via script. A list dialog can have a lot of entries and there it can be very useful if you can limit the entries a little bit before. We have four new functions for the ListDialog component in connection with filters. If we do not set an image, we have a preview image of the dragged file on macOS. With DragDrop.SetDragImage you can set an image that should be displayed when this object is dragged. To do this, you can use DragDrop.SetFilePathsToDrag to specify a list of paths to where the files should be taken. You can also drag things out of a drop zone. The DragDrop.AttachToWindow function disables FileMaker's drop handler and installs the plugin one to the window. You can now create a drag drop area over the whole working window. Let's start with the functions that are new in the DragDrop component. In this article I want to introduce you the new functions from the MBS FileMaker Plugin in version 11.0. Please do not hesitate to contact us with your questions. If we have changes to the script, we'll keep the example database updated for you. # We render barcode at 4x size for better drawing laterįeel free to try the example database with next plugin pre-release and let us know if you find some issue. We use high level as we draw over barcode. Reference 35-Character-Code, see ISO 11649 RF Creditor Reference "EUR" & Substitute(Tabelle::Amount "," "." ) & ¶ & We replace comma with dot for German amounts Set Variable [ $text Value: // Service Tag Here is the main script with the full calculation to assemble the text for the barcode: Or you use DynaPDF to draw it as vector graphics to keep it sharp. You may prepare the data, but then you can use MBS Plugin to create the barcode and put it as picture in a container and print it on your invoice. One of our clients asked for how to create payment QR-Codes in FileMaker and we just made him a new example for this. We look forward to news from Claris about when they will support Apple Silicon directly. Lipo -extract x86_64 -output MBS.fmplugin/Contents/MacOS/MBS MBS.fmplugin/Contents/MacOS/MBSThen you get an Intel only and FileMaker may tell you that there is no longer a signature included. Technically you can of course use lipo command line tool to reduce the code you don't need, but that breaks code signature. Since disk space is no longer a problem, we intend to simply ship this file with both targets later this year and avoid trouble with clients installing the wrong version: Intel or Apple Silicon. The arm64 side is 26.2 MB in size and a bit smaller than the 27.6 MB part for Intel. MBS.fmplugin/Contents/MacOS/MBS (for architecture arm64): Mach-O 64-bit bundle arm64The new plugin is 53.7 MB big. MBS.fmplugin/Contents/MacOS/MBS (for architecture x86_64): Mach-O 64-bit bundle x86_64 MBS.fmplugin/Contents/MacOS/MBS: Mach-O universal binary with 2 architectures: Checking in Terminal, the file command reports the content like this: The plugin builds now and we got a new plugin file for both CPU architectures. But I had an idea and made myself a dummy amework, which exports the right functions and is built for both Intel and Apple Silicon. The work went nice until we came to linking the project and amework was Intel only. MBS FileMaker Plugin for Apple Silicon Last weekend I had a funny idea to continue the preparation on supporting Apple Silicon for the MBS FileMaker Plugin.
0 Comments
Leave a Reply. |