Our Blog, FileMaker only, Xojo only, Archive (older)     Follow us on Twitter, Xing, LinkedIn or Facebook.

Save PDF to container in FileMaker


You may know FileMaker has the possibility to save records as PDF to a file. From time to time clients ask how to script to get the PDF into a record. We like to show you a sample script on what you can do and run this either on server (e.g. triggered from FileMaker Go) or on client. 

The script takes the record ID as parameter. We switche to the target layout and the correct record based on the record ID to setup the context. That's important as on a server we need to setup context ourselves. On a client you can skip this, if you know you are on the right record already. We build a file path for the temporary PDF document named "temp.pdf". On a server with multiple scripts running at the same time, you may better use temp folder or put a new unique UUID in the file name. 

Next we ask FileMaker to save current record as PDF to the given file path. If that works and we don't get an error reported, we can use the Container.ReadFile function to read the PDF file. Please note, that we have different file path in either FileMaker style or native OS style for the plugin. If the read operation works, we can try to put the new PDF document into the field. If that works, we can commit changes to disk and report back OK. Per convention we have the script either return OK or an error message, so the calling script can check the result.

Here is the final script:

# pass record ID as parameter

Set Variable [ $RecordID ; Value: Get(ScriptParameter) ] 

# go to target layout

Go to Layout [ “Contact Details” (Contacts) ; Animation: None ]

If [ Get(LastError) ≠ 0 ] 

Exit Script [ Text Result: "Failed to go to layout!" ] 

End If

Go to Record/Request/Page [ With dialog: Off ; $RecordID ]

If [ Get(LastError) ≠ 0 ] 

Exit Script [ Text Result: "Failed to go to record " & $recordID ] 

End If

# build a path for FileMaker

Set Variable [ $name ; Value: "temp.pdf" ] 

Set Variable [ $path ; Value: Get(DocumentsPath) & $name ] 

Set Variable [ $NativePath ; Value: MBS( "Path.FileMakerPathToNativePath"; $path ) ] 

# Let FileMaker save records

Save Records as PDF [ Restore ; With dialog: Off ; “$path” ; Current record ; Create folders: Off ] 

If [ Get(LastError) = 0 ] 

# Read result PDF

Set Variable [ $PDF ; Value: MBS( "Container.ReadFile"; $NativePath) ] 

If [ MBS("ISError") = 0 ] 

# Put in container

Set Field [ Contacts::PDFFile ; $PDF ] 

If [ Get(LastError) ≠ 0 ] 

Exit Script [ Text Result: "Failed to assign PDF field" ] 

End If

Commit Records/Requests [ With dialog: Off ] 

Exit Script [ Text Result: "OK" ] 

Else

Exit Script [ Text Result: "Failed to read PDF document: " & $PDF ] 

End If

Else

Exit Script [ Text Result: "Failed to create PDF document: " & Get(LastExternalErrorDetail) ] 

End If

You may call the script above passing RecordID like this:

Perform Script [ Specified: From list ; “save pdf” ; Parameter: Get(RecordID) ]

Please don't hesitate to contact us with questions.  


Thanksgiving Sale


For this year's Thanksgiving in America, we offer again discounted licenses for our MBS Plugins for FileMaker and Xojo.
Please use coupon code BlackFriday for our web shop to order new licenses with a 20% discount. This includes DynaPDF and LibXL.

Order MBS FileMaker Plugin     Order MBS Xojo Plugins     Order LibXL

If you have special needs, you can email us to get an invoice or Paypal payment link directly. We know some people need to wait till next week to order, so the offer is valid till Tuesday.

Second if you have purchased previously an individual MBS Xojo Plugin part from the Complete Set within the last two years, but not the whole set, we offer you an upgrade to the Complete set for the update price. Please consider to get the whole collection of 40 plugins instead of just one plugin.

See also Xojo Thanksgiving Sale and a xojo.io for a collection of offers for Xojo developers.

Use Text Finder for TextArea in Xojo


Have you checked the NSTextFinderMBS class for macOS to show a search field within a text area?

With a little code you can provide a find & replace toolbar within the text area like this:

The GUI is standard from macOS and localized by the system.

Here is the sample code you can use:

Sub ToggleFindbar() // get MBS objects for the Xojo controls Dim textView As NSTextViewMBS = TextArea1.NSTextViewMBS Dim scrollView As NSScrollViewMBS = TextArea1.NSScrollViewMBS // first run, we create the TextFinder object If finder = Nil Then finder = New NSTextFinderMBS // connect it to the text view and the finder.client = textView finder.findBarContainer = scrollView finder.incrementalSearchingEnabled = True End If If CheckFindbar.Value Then // enable find bar If scrollView.FindBarVisible Then // show the find interface finder.performAction finder.kActionShowFindInterface Return End If If textView.usesFindBar Then // show the find interface, if it was hidden before scrollView.FindBarVisible = True Return End If // enables find bar textView.usesFindBar = True End If If CheckFindbar.Value Then // show it finder.performAction finder.kActionShowFindInterface Else // hide it finder.performAction finder.kActionHideFindInterface End If End Sub

You may just have a menu command for search and when it's triggered, you can check what Window.Focus points to. If a text area is in focus, you can simply call the method above and pass the text area to show the find bar.

Please don't hesitate to contact us with your questions.


FMNext 2020


Dieses Jahr findet die fmnext.ch Veranstaltung online statt und über mehrere Wochen verteilt mit Vorträgen online:

Medio-Ingeno AG proudly presents
FMnext - Screencasts 📽
ab 17. November 2020, 17 Uhr
Anstelle des jährlichen FMnext XP Events für Entwickler, FileMaker-Enthusiasten und Interessierte veröffentlichen wir
aus bekannten Gründen an dieser Stelle wöchentlich Screencasts aus der Community zum Thema Claris FileMaker ®.

Das Programm dieses Jahr:
  • Episode 1 - 17.11.20
    Wie erstelle ich Add-ons in FileMaker 19?
    In einem 20-Minuten Video wird das Erstellen eines Add-ons sowie der Einbau in eine bestehende Lösung Schritt für Schritt erklärt.
    Referent: Martin Schwarz, Medio-Ingeno AG
  • Episode 2 - 24.11.20
    Protokollieren von Datensatz-Änderungen: einfach und schnell
    Michael Jupe zeigt, wie Änderungen am Datensatz protokolliert werden können, und zwar unmerklich für die Benutzer und unaufwändig für den Programmierer.
    Referent: Michael Jupe, Medio-Ingeno AG
  • Episode 3 - 01.12.20
    Subsummary Reports erstellen und exportieren
    Zwischenergebnisse darstellen kann FileMaker seit langem. Weniger bekannt ist, dass die Daten dieser Subsummary Reports exportiert werden können. Das 20-minütige Video zeigt anhand einer Muster-Datei, wie ein Subsummary Report erstellt und exportiert wird.
    Referent: Markus Spieler, Medio-Ingeno AG
  • Episode 4 - 08.12.20
    Von UFOs und Card Windows
    Card Windows bewegen sich in luftiger Höhe über ein anderes Layout und keiner weiss, von welchem Planeten sie stammen. Was bei Popover-Fenster in FileMaker noch klar ist, ändert sich radikal mit der Einführung von Card Windows. Frühere Beschränkungen werden aufgehoben und plötzlich sind ganz neue Arbeitsflusse umsetzbar. Da Card Windows nun auch mit WebDirect funktionieren, sollte man die Möglichkeiten kennen. Dieses Video ist eine kleine Flugschule für UFO's, die sogenannten Card Windows.
    Referent: Karsten Risseeuw, Kursiv GmbH
  • Episode 5 - 15.12.20
    Neues aus der Monkeybread Schmiede
    Referent: Christian Schmitz, Monkeybread
Alle Videos finden Sie auf der fmnext.ch Webseite.

Xojo 2020r2 arrived


After an extended beta phase Xojo 2020r2 was released today. See announcement, Release Notes and download. This is a huge release, which implements a couple of points on the roadmap and brings us Apple Silicon support, plugins for iOS with iOS getting API 2.0 framework and new worker class and even a few new controls for search and date/time picker.

Apple Silicon

This Xojo version can build applications for Apple Silicon and it can build universal applications, too. We updated MBS Plugins and include Apple Silicon support there in version 20.5. You can try it, but we'll soon have a new beta for the next version as we find issues while more people try building for those new Macs with M1 processor.

All MBS Plugins in 20.5 (and future versions) include an Apple Silicon version. Not all libraries are available yet for Apple Silicon and most functions have not been tested although since it's basically the same code on the same OS with a compiler change, we expect everything to just works. (more)

Black Friday coming soon


As you may know Americans love to shop on Black Friday and Cyber Monday. This year Black Friday is 27th November. About half our customers are in North America, so we are happy to offer you a discount if they buy this weekend. Our offer will go live in the next days and should be available in time.

We plan to offer coupon code BlackFriday for the web shop with 20% off for new licenses of MBS Plugins, DynaPDF and LibXL.
Updates are already offered with discount (usually 50%) compared to new purchases and and our academic prices already have a discount. If you like, you can email us to get an order link for all licenses you need or provide an invoice if needed.

Order MBS FileMaker Plugin     Order MBS Xojo Plugins     Order LibXL

As usual the discounted offer allows you to buy whatever licenses you may need in the next year. As you know that Apple Silicon is coming to a lot of clients next year, you may want to have current plugin licenses.

If you need a license from Xojo Inc. or their third-party store section, you may to check the Xojo store on the weekend. Everyone interested in a license for the next version 2020r2 featuring Apple Silicon support, should go and buy one.

For FileMaker there is still an offer available for buying one FileMaker Pro license and getting a free one to give away. This offer expires 18th December. If you or your client has an expired FileMaker license for over 6 months, you may get a discount for a welcome back offer with 25% reduced pricing. Also there may be possibilities to get a FileMaker Server for smaller companies with thee or four users.

You have a question? Please don't hesitate to contact us by email or phone. We may help to point you to the right offer.

News from the MBS Xojo Plugins Version 20.5


In this article I want to introduce you the new functionalities from the MBS Xojo Plugins in version 20.5.

Excel - News from the XL topic

Let's start with the innovations in the XL topic. With our plugins you can create and edit Excel documents via Xojo. In this release we have new features that extend the functionality of this topic. With the new method CopyColumn from the XLSheetMBS class you can copy the values of a column of a table into another column. This copying process is not limited to the worksheet or book. You can also copy columns between different books and sheets. In the last parameter of the method you can set the copy options. That means you can decide which type of content is copied. If that option is nil we copy everything.

An other new method is ReadValue from the XLSheetMBS class. With this method you read a value from a cell as variant. Depending on the content we return a number, a boolean, a text or a timestamp. Empty or error cells will return nil.

(more)

New in MBS FileMaker Plugin 10.5


In this article I want to introduce you the new functions from the MBS FileMaker Plugin in version 10.5.

XL - Working with Excel

Let's start with the innovations in the XL topic. With our plugin you can create and edit Excel documents via FileMaker scripts. Also in this release we have new features that extend the functionality of this topic. With the new function XL.CopyColumn you can copy the values of a column of a table into another column. This copying process is not limited to the worksheet or book. You can also copy columns between different books and sheets. These must then be defined in the parameters.

You can use the XL.Sheet.AddDataValidation function to perform data validation for a specific area of a table. For example, you can specify that a column may not be empty or the values are in a range. These data validations can then be removed with XL.Sheet.RemoveDataValidations. This functions works for xlsx files.

The last but not least new function in the component is the XL.Sheet.CellReadValue function. With this function you reads a value from a cell. Depending on the content we return a number, a boolean, a text or a timestamp. Empty, blank or error cells will return an empty value.

CSV Matrix

Another new function is the Matrix.CSVSplit function. With this function we can convert a Comma Separate Value Text into a matrix. For example, if you have the data of a FileMaker database as a CSV file, you can use this function to easily write the data into a matrix and work with it.

(more)

Filter for ListDialog


We had ListDialog functions for years and a few people over the years asked for a filter feature. We got that implemented for next version of MBS FileMaker Plugin:

To support that we have 4 new functions to enable filter and set the filter text:

Set Variable [ $r ; Value: MBS("ListDialog.SetShowsFilter"; 1) ]
Set Variable [ $r ; Value: MBS("ListDialog.SetFilter"; "") ]

When dialog closes, you can query filter value, store it in a field and later restore it when you open the dialog again.

Filter allows to enter multiple values separated by space and filters all columns.

Please do not hesitate to contact us with your questions.


FileMaker Magazin - MBS Artikel


Wir haben einige Artikel zum MBS Plugin aus dem FileMaker Magazin gesammelt hier online gestellt: FileMaker Magazin Artikel.

Mehr Artikel gibts im FMM Premium Abo mit Beispiel Downloads, FMM Wissensdatenbank & Zugriff auf alle Ausgaben seit 1994!

Das FileMaker Magazin ist eine exzellente Quelle von Informationen, Anleitungen und Profitips.


Import CSV with Matrix functions


Let us show you how to use Matrix.CSVSplit function for a custom CSV import. For example you may have a text file and read it with our Text.ReadTextFile function. Here it is important to know the text encoding to expect. Usually nowadays everyone uses UTF-8 except if you get data from ancient database systems with some Latin 1 or Windows ANSI encoding. Once you have some text, you may want to normalize line endings with Text.ReplaceNewline function.

 

Next you call Matrix.CSVSplit function to split the CSV text. We can pass the semicolon as delimiter. If you don't specify one, we auto detect whether it is comma, semicolon or tab character. But you can pass any delimiter you like here, e.g. # character. Once import is done, we can use Matrix.Height and Matrix.Width functions to query the size of the matrix we got. First row is the name of the fields. You may use the fields listed in the CSV later or bring your own field list for the insert operation later. And as we don't like to insert the field names, we remove first row with Matrix.RemoveRow function.

 

The magic to do inserts into your table is done with our Matrix.InsertRecords function. It creates internally an SQL statement to for insert operations. Then it walks over the matrix and runs SQL statement to insert records. If everything is fine, the function returns OK. Finally we can release the matrix object with the Matrix.Release function. You can see the SQL statement by calling FM.ExecuteSQL.LastSQL function.


Here is the sample script:

 

# native file path

Set Variable [ $path ; Value: "/Users/cs/Desktop/test.csv" ] 

# read the file

Set Variable [ $text ; Value: MBS( "Text.ReadTextFile"; $path; "UTF-8") ] 

# change line endings to make sure it's ¶ for FileMaker

Set Variable [ $text ; Value: MBS( "Text.ReplaceNewline"; $Text; 1 ) ] 

# Split CSV

Set Variable [ $matrix ; Value: MBS( "Matrix.CSVSplit"; $text; ";") ] 

# query height

Set Variable [ $count ; Value: MBS( "Matrix.Height"; $matrix) ] 

Show Custom Dialog [ "Number of rows" ; $count ] 

# take first rows with field names

Set Variable [ $firstRow ; Value: MBS( "Matrix.GetRow"; $matrix; 0 ) ] 

Set Variable [ $r ; Value: MBS( "Matrix.RemoveRow"; $matrix; 0 ) ] 

Show Custom Dialog [ "Fields in CSV" ; $firstRow ] 

# you may use a different field list for FileMaker (or the one from CSV)

Set Variable [ $fields ; Value: "Name¶Price" ] 

# insert records to our Assets table

Set Variable [ $r ; Value: MBS( "Matrix.InsertRecords"; $matrix; Get(FileName); "Assets"; $fields) ] 

# free memory

Set Variable [ $r ; Value: MBS("Matrix.Release"; $matrix) ] 

 

For next plugin version we already got an improvement: While plugin version 10.5 can only do text fields in FileMaker, the next version will detect field type and convert data if needed.

Please do not hesitate to contact us if you have questions.


The VariantTypeString function for Xojo


We got a handy function to query a type string for a variant. Useful when displaying variant content in our apps together with stringValue to get text representation. It uses our new GetVariantTypeMBS function to detect unsigned integer types.

The function is using BitwiseAnd to detect if the array bit is set and then BitwiseAnd with the ones complement to remove the bit for the type. For speed we use a dictionary filled on first call. And in case ever a new type is introduced, the break statement should stop in debugging and we can check the new type value and add it to the list.

Please let us know if you like it or have improvement ideas.

(more)

Brackets Highlighting


MBS Plugin in version 10.5 is available and you can try our bracket highlighting for macOS:

For macOS we added a new feature to the calculation dialog to highlight matching brackets. If you put the cursor on a square, curly or regular bracket, the plugin looks for the matching bracket and provides a blue background for both. This usually ignores quoted text, except if your selection is within quoted text. Then we look for brackets in this text to help with e.g. SQL commands.

You can turn this on or off in the preferences dialog. As usual, those function can be configured in script via SyntaxColoring.ShowBracketPositions.SetEnabled function.


Windows 7 compatibility


Our MBS FileMaker Plugin in version 10.5 added newer WindowsML functions for Machine Learning on Windows 10.
Adding those did break compatibility to Windows 7 by referencing newer functions introduced in Windows 8.

If you need Windows 7 or as server Windows Server 2008 R2 support, please get the plugin here:
MBSFMPlugin105-Windows7.zip.

As those Windows versions are unsupported, nobody should use or need them anymore.

In future, we may only provide Windows 7 compatibly plugins on request as current FileMaker Pro doesn't even run on Windows 7 anymore.

MBS FileMaker Plugin 10.5 - More than 6400 Functions In One Plugin


Nickenich, Germany - (November 17th, 2020) -- MonkeyBread Software today is pleased to announce MBS FileMaker Plugin 10.5 for macOS, iOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin currently available for FileMaker Pro. As the leading database management solution for Windows, macOS, iOS and the web, the FileMaker Pro Integrated Development Environment supports a plugin architecture that can easily extend the feature set of the application. MBS FileMaker Plugin 10.5 has been updated and now includes over 6400 different functions, and the versatile plugin has gained more new functions:

If you are interested in Machine Learning, please check our new WindowsML functions for Windows. Beside the CoreML function on macOS, we now can do similar things on Windows like detecting the primary object of a picture.

For macOS we added a new feature to the calculation dialog to highlight matching brackets. If you put the cursor on a square, curly or regular bracket, the plugin looks for the matching bracket and provides a blue background for both. This usually ignores quoted text, except if your selection is within quoted text. Then we look for brackets in this text to help with e.g. SQL commands. For the inspector we got a zoom button to increase control sizes to 125%. Read them easier, although you may need to scroll with the mouse.

For our XL functions we got a new XL.CopyColumn function to copy columns in a sheet. Our new XL.Sheet.CellReadValue function can read a value from a cell and return it as value depending of the cell type. Use the new XL.Sheet.AddDataValidation and XL.Sheet.RemoveDataValidations functions to configure data validation.

DynaPDF got updated and now supports more ZUGFeRD 2.1 and Factur-X variants. The new DynaPDF.InsertBarcode function helps to place vector graphics barcodes on the PDF pages. We added a lot of new JSON based functions for DynaPDF to query content of documents like information on fonts, fields, bookmarks or annotations. For DynaPDF.Print we now support collate and copies options in the print dialog.

This version embraces JSON, so check the new JSON functions like Files.ListAsJSON to list files in a directory or CUPS functions to list printers and jobs.

We got a lot of new ReleaseAll functions to help cleanup objects. Use Matrix.CSVSplit to split CSV into a matrix object, check TextView functions to handle selection, use new list functions to find duplicate entries.

On macOS you can query app memory usage with SystemInfo.AppUsageStatistics function including how much memory FileMaker uses right now. The SystemInfo.CPULoad function tells you how much CPU is used currently.

Finally we updated CURL library to version 7.73.0, DynaPDF to 4.0.44.123, freetype to 2.10.4, LibXL to 3.9.2, OpenSSL to 1.1.1h, SQLAPI to 5.1.3b3 and Xcode to version 12.1.

See release notes for a complete list of changes.

MBS Xojo Plugins in version 20.5


Nickenich, Germany - (November 17th, 2020) -- MonkeyBread Software today is pleased to announce MBS Xojo Plugins 20.5 for macOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin collection currently available for Xojo. MBS Xojo Plugins have been updated and now includes over 2800 classes and 71,000 documented features, and the versatile plugins have gained more new functions:

Recently Microsoft released the newer WebView2 control for Windows 7 and newer. This is a new control to provide a web viewer inside applications based on Edge/Chrome engine. Use our new WebView2ControlMBS control if you need newer JavaScript or CSS compared to older Internet Explorer engine in HTMLViewer or the Chromium version offered by Xojo. Currently your users will have to install WebView2 control, but future Windows versions will include it.

If you are interested in Machine Learning, please check our new WindowsML classes for Windows. Beside the CoreML classes on macOS, we now can do similar things on Windows like detecting the primary object of a picture.

The new plugin embraces DateTime class and adds over 200 new methods and properties. In newer Xojo versions you can use DateTime or Date class, but in older Xojo versions only Date functions are available.

DynaPDF got updated and now supports more ZUGFeRD 2.1 and Factur-X variants. The new InsertBarcode function helps to place vector graphics barcodes on the PDF pages. You can now detect whether the user cancelled PDF print dialog on Windows. In that dialog you can now use collate and copies options. We support LineDash, LineJoin and LineCap for drawing with graphics class.

We improved the handling of unsigned integers with our variant related functions. We got new constants for GetVariantTypeMBS function for unsigned integers. To create arrays from values with specific types, we got ArrayInt64MBS, ArrayStringMBS, ArrayVariantMBS, ArrayIntegerMBS and ArrayDoubleMBS functions. The CompareNumbersMBS function helps to compare signed and unsigned integer values of any size correctly.

For XL classes we got a new function to copy columns in a sheet. Our new ReadValue function can read a value from a cell and return it as variant depending of the cell type.

The SQL plugin can now report last insert ID for CubeSQL. The PostgreSQL plugin part loads LDAP libraries if needed dynamically.

The SSH2ChannelMBS class got a DataAvailable event and a new example for an interactive Terminal.

Finally we updated CURL library to version 7.73.0, DynaPDF to 4.0.44.123, freetype to 2.10.4, LibXL to 3.9.2, OpenSSL to 1.1.1h, SQLAPI to 5.1.3b3, to a newer plugin SDK and Xcode to version 12.1.

See release notes for a complete list of changes.

Neues MBS FileMaker Plugin 10.5 - Über 6400 Funktionen in einem Plugin


17. November 2020 - Monkeybread Software veröffentlicht heute das MBS FileMaker Plugin für FileMaker in Version 10.5, mit inzwischen über 6400 Funktionen eines der größten FileMaker Plugins überhaupt. Hier einige der Neuerungen:

Wenn Sie sich für Maschinelles Lernen interessieren, schauen Sie sich bitte unsere neuen WindowsML Funktionen für Windows an. Neben der CoreML Funktion auf MacOS können wir jetzt unter Windows ähnliche Dinge tun, wie z.B. das primäre Objekt eines Bildes erkennen.

Für macOS haben wir dem Berechnungsdialog eine neue Funktion hinzugefügt, um passende Klammern hervorzuheben. Wenn Sie den Cursor auf eine eckige, geschweifte oder normale Klammer setzen, sucht das Plugin nach der passenden Klammer und stellt für beide einen blauen Hintergrund zur Verfügung. Dies ignoriert normalerweise zitierten Text, außer wenn sich Ihre Auswahl innerhalb des zitierten Textes befindet. Dann suchen wir nach Klammern in diesem Text, um z.B. bei SQL-Befehlen zu helfen. Für den Inspektor haben wir einen Zoom-Button, um die Kontrollgrößen auf 125% zu erhöhen. Dies erleichtert das Lesen, auch wenn Sie eventuell mit der Maus scrollen müssen.

Für unsere XL Funktionen haben wir eine neue XL.CopyColumn Funktion zum Kopieren von Spalten in einem Blatt eingebaut. Unsere neue XL.Sheet.CellReadValue Funktion kann einen Wert aus einer Zelle auslesen und ihn abhängig vom Zelltyp als Wert zurückgeben. Mit den neuen Funktionen XL.Sheet.AddDataValidation und XL.Sheet.RemoveDataValidations können Sie die Datenvalidierung konfigurieren.

DynaPDF wurde aktualisiert und unterstützt nun mehr ZUGFeRD 2.1 und Factur-X Varianten. Die neue DynaPDF.InsertBarcode Funktion hilft beim Platzieren von Vektorgrafik-Barcodes auf den PDF Seiten. Wir haben viele neue JSON-basierte Funktionen für DynaPDF hinzugefügt, um den Inhalt von Dokumenten wie Informationen zu Schriftarten, Feldern, Lesezeichen oder Anmerkungen abzufragen. Für DynaPDF.Print unterstützen wir jetzt die Optionen zum Sortieren und Kopieren im Druckdialog.

Diese Version bring viele neue JSON Funktionen. Probieren Sie die neuen JSON Funktionen wie Files.ListAsJSON zum Auflisten von Dateien in einem Verzeichnis oder CUPS Funktionen zum Auflisten von Druckern und Aufträgen.

Wir haben eine Menge neuer ReleaseAll Funktionen eingebaut, die beim Bereinigen von Objekten helfen. Verwenden Sie Matrix.CSVSplit, um CSV Text in ein Matrixobjekt aufzuteilen. Probieren Sie TextView Funktionen für die Textauswahl in einem Textbereich zu steuern und verwenden Sie neue Listenfunktionen, um doppelte Einträge zu finden.

Unter MacOS können Sie mit der Funktion SystemInfo.AppUsageStatistics die Speichernutzung von Anwendungen abfragen, einschließlich der Abfrage, wie viel Speicher FileMaker im Moment verwendet. Die Funktion SystemInfo.CPULoad zeigt Ihnen an, wie stark die CPU derzeit verwendet wird.

Schließlich haben wir die CURL-Bibliothek auf Version 7.73.0 aktualisiert, DynaPDF auf 4.0.44.123, freetype auf 2.10.4, LibXL auf 3.9.2, OpenSSL auf 1.1.1h, SQLAPI auf 5.1.3b3 und Xcode auf Version 12.1 aktualisiert.

Alle Änderungen in den Release Notes.

Boolean Variant Optimization in Xojo


Did you know that Xojo runtime optimizes boolean variants?

Variants are used a lot with Dictionaries, Introspection and as RowTag/CellTag/ColumnTag in Listbox. They need to be fast.

Take an example code like this:

Dim ObjectCountBefore As Integer = runtime.ObjectCount Dim v1 As Variant = True Dim v2 As Variant = False Dim v3 As Variant = True Dim v4 As Variant = False Dim v5 As Variant = True Dim v6 As Variant = False Dim ObjectCountAfter As Integer = runtime.ObjectCount Dim difference As Integer = ObjectCountBefore - ObjectCountAfter MsgBox Str(difference)

We check object count, create six local variables of type variant with assigning boolean values. Then we check object count again. What difference do you expect?

You may expect six, but the Xojo runtime actually optimizes this and returns the same two variants again and again. Beside the first two boolean variants created, there is no more memory used for variants. Think about that, when storing booleans in a dictionary or as a RowTag.

Even better would be if functions like the one used to create a boolean variant would be annotated, so LLVM could optimize away the calls above with the unused variables and give a difference of zero.


7 Monate bis zur Deutschen FileMaker Konferenz 2020 in Malbun


Noch sieben Monate bis zur FileMaker Konferenz 2021 in Malbun (Liechtenstein) und zur MBS Plugin Schulung Schulung am Mittwoch vorher.

Vom 17. bis 19. Juni 2021 findet die elfte deutschsprachige FileMaker Konferenz in Malbun, Liechtenstein statt. Aktuell läuft die Frühbucherphase bis 28. Februar mit vergünstigten Tickets.

Die Veranstalter vom Verein FM Konferenz erwarten auch 2020 rund 120 Entwickler, Anwender, IT-Fachleute und Entscheidungsträger aus Wirtschaft, Bildung und Verwaltung. Rund um über 20 Fachvorträge und Workshops wird es viel Zeit zum Vernetzen in den gemeinsamen Pausen und beim Abendprogramm geben.

Für den Deutschsprachigen Raum ist diese Konferenz das Treffen des Jahres. Hier finden Sie vom Anfänger bis zum Profi Kontakte zu anderen Entwicklern. Lernen Sie was es neues gibt, nehmen Sie Impulse mit für die eigene Arbeit und erfahren Sie mehr zu FileMaker von deutschsprachigen Experten!



Die MBS Plugin Schulung vorher findet voraussichtlich am statt (im gleichen Hotel).

Bitte planen Sie wenigstens einen extra Tag ein für ihren Besuch in Liechtenstein, damit Sie die Natur in dem schönen Tal geniessen können. Den Aufstieg auf den Sareis können Sie bequem zu Fuß vom Hotel aus starten und die Turnastraße hinauf spazieren bis zum Restaurant am Gipfel. Oder alternativ die Seilbahn nehmen.

Hoffen wir, dass sich im Frühjahr die Corona Lage verbessert und die Konferenz stattfinden kann.

MBS Xojo Plugins, version 20.5pr10


New in this prerelease of the 20.5 plugins:
  • Changed WindowsHTMLViewer plugin to not need VCRuntime140_1.dll any more.
  • Added SystemSymbolName property for ICDeviceMBS class.
  • Fixed a problem with loading libiconv.dll on Windows.
Download: monkeybreadsoftware.com/xojo/download/plugin/Prerelease/.
Or ask us to be added to our shared Dropbox folder.

Older blog entries:

2020-11-14 MBS FileMaker Plugin, version 10.5pr10
2020-11-13 Extract the system libraries on macOS Big Sur
2020-11-13 macOS Big Sur arrived
2020-11-11 MBS Xojo Plugins, version 20.5pr9
2020-11-11 MBS FileMaker Plugin, version 10.5pr9
2020-11-09 MBS Xojo Plugins, version 20.5pr8
2020-11-09 MBS FileMaker Plugin, version 10.5pr8
2020-11-09 Working on WebViewer memory leaks
2020-11-02 Xojo Developer Magazine 18.6
2020-11-02 MBS Xojo Plugins, version 20.5pr7
2020-11-02 MBS FileMaker Plugin, version 10.5pr7
2020-11-01 WebView2 for Xojo
2020-10-30 Print PDF dialog with copies and collate options
2020-10-28 FileMaker Server for Linux
2020-10-28 FileMaker Pro 19.1.3 and MBS Plugin
2020-10-28 TextInputCanvas Update
2020-10-26 MBS Xojo Plugins, version 20.5pr6
2020-10-26 MBS FileMaker Plugin, version 10.5pr6
2020-10-20 20 Years Monkeybread Software Party postponed
2020-10-17 MBS Xojo Plugins, version 20.5pr5

Archives

Nov 2020
Oct 2020
Sep 2020
Aug 2020
Jul 2020
Jun 2020
May 2020
Apr 2020
Mar 2020
Feb 2020
Jan 2020
Dec 2019
Nov 2019
Oct 2019
Sep 2019
Aug 2019
Jul 2019
Jun 2019
May 2019
Apr 2019
Mar 2019
Feb 2019
Jan 2019
Dec 2018
Nov 2018
Oct 2018
Sep 2018
Aug 2018
Jul 2018
Jun 2018
May 2018
Apr 2018
Mar 2018
Feb 2018
Jan 2018
Dec 2017
Nov 2017
Oct 2017
Sep 2017
Aug 2017
Jul 2017
Jun 2017
May 2017
Apr 2017
Mar 2017
Feb 2017
Jan 2017
Dec 2016
Nov 2016
Oct 2016
Sep 2016
Aug 2016
Jul 2016
Jun 2016
May 2016
Apr 2016
Mar 2016
Feb 2016
Jan 2016
Dec 2015
Nov 2015
Oct 2015
Sep 2015
Aug 2015
Jul 2015
Jun 2015
May 2015
Apr 2015
Mar 2015
Feb 2015
Jan 2015
Dec 2014
Nov 2014
Oct 2014
Sep 2014
Aug 2014
Jul 2014
Jun 2014
May 2014
Apr 2014
Mar 2014
Feb 2014
Jan 2014
Dec 2013
Nov 2013
Oct 2013
Sep 2013
Aug 2013
Jul 2013
Jun 2013
May 2013
Apr 2013
Mar 2013
Feb 2013
Jan 2013
Dec 2012
Nov 2012
Oct 2012
Sep 2012
Aug 2012
Jul 2012
Jun 2012
May 2012
Apr 2012
Mar 2012
Feb 2012
Jan 2012
Dec 2011
Nov 2011
Oct 2011
Sep 2011
Aug 2011
Jul 2011
Jun 2011
May 2011
Apr 2011
Mar 2011
Feb 2011
Jan 2011
Dec 2010
Nov 2010
Oct 2010
Sep 2010
Aug 2010
Jul 2010
Jun 2010
May 2010
Apr 2010
Mar 2010
Feb 2010
Jan 2010
Dec 2009
Nov 2009
Oct 2009
Sep 2009
Aug 2009
Jul 2009
Apr 2009
Mar 2009
Feb 2009
Dec 2008
Nov 2008
Oct 2008
Aug 2008
May 2008
Apr 2008
Mar 2008
Feb 2008
XML: RSS Feed XML: Atom Feed