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

MBS FileMaker Plugin, version 12.6pr2

New in this prerelease of version 12.6 of the MBS FileMaker Plugin:
  • Added new Get() function names in FileMaker 19.6 for our links in calculations.
  • Updated Plugin SDK or FileMaker 19.6.
  • Added DynaPDF.CreateICCBasedColorSpace and DynaPDF.CreateICCBasedColorSpaceContainer.
  • Fixed a problem with iOS plugins missing the version number.
  • Fixed problem with Schedule functions with storing result from evaluate.
  • Added WebRequest.GetMode function.
  • Changed variable check to disable while scrolling on macOS Ventura with multi line comments in use to avoid layout trouble.
  • Changed FM.SQL.Text and FM.SQL.CSV functions to return empty text if there are no rows and no row parameter.
  • Changed JSON.SetPathItem to do nothing if value is empty (like v12.4 and before).
  • Updated DynaPDF to version 4.0.70.201.
  • Changed JSON parser to skip non breaking spaces like regular spaces.
  • Fixed a memory leak in LDAP.AddJSON and LDAP.ModifyJSON and added additional checks for the passed in JSON.
Download at monkeybreadsoftware.com/filemaker/files/Prerelease/, in DropBox folder or ask for being added to the DropBox shared folder.

MBS Xojo Plugins, version 22.6pr2

New in this prerelease of the 22.6 plugins:
  • Added ReSVGMBS class.
  • Changed OutputData in CURLSMBS class and similar to raise OutOfBoundsException if data is too big (>2 GB) to fit into a string.
  • Updated DynaPDF to version 4.0.70.201.
  • Changed JSON parser to skip non breaking spaces like regular spaces.
Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

GraphicsMagick in FileMaker, part 7

🎄
7 of 24

Welcome to the 7th door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw them and much much more. In the end, you too can take the magic of GraphicsMagick to your images. I wish you a lot of fun in the process.

Today I want to show you how to crop an image. For this we use the GMImage.Crop function. This function returns an image section that you have to define in the parameters before. As with the other functions, we first specify the reference and then a geometry. The geometry describes the cut-out from the image. First we can define how big such a section should be - again in pixels. First the width and then the height which we separate from each other with an x. But now we don't only want to define the size of the section, but also the position. For this reason we have to set the offsets for X and Y in addition to the size information. The offsets determine the distance from the upper left edge. If we set a value for X we move away from the side edge, if we set a value for Y we move away from the top border. These two values can be appended with a plus. We will make an example now. We would like to crop the image so that it is square and shows the center of the image. Here we see the code:

(more)

Follow up on SMTP with OAuth for Office 365 in FileMaker

After the SMTP with OAuth for Office 365 in FileMaker article we got some feedback from you guys.

Scope

First there is the question about the scope of the token and how to use this for IMAP. So the scope string lists various identifiers separated by a space character and a few of those identifiers are URLs. You can lookup them in the documentation from Microsoft, but we have a few common ones:

Only SMTP:
Set Variable [ $scope ; Value: "https://outlook.office365.com/SMTP.Send"

Only IMAP:
Set Variable [ $scope ; Value: "https://outlook.office365.com/IMAP.AccessAsUser.All"

IMAP and SMTP:
Set Variable [ $scope ; Value: "https://outlook.office365.com/SMTP.Send https://outlook.office365.com/IMAP.AccessAsUser.All"

More with POP3 and profile data and offline access:
Set Variable [ $scope ; Value: "openid profile offline_access https://outlook.office365.com/SMTP.Send https://outlook.office365.com/POP.AccessAsUser.All https://outlook.office365.com/IMAP.AccessAsUser.All"

It may be good to keep this narrow and maybe only ask for SMTP most times so the user is not frightened that for sending emails you also need to read all their existing emails. (more)

GraphicsMagick in FileMaker, part 6

🎄
6 of 24

Welcome to the 6th door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw them and much much more. In the end, you too can take the magic of GraphicsMagick to your images. I wish you a lot of fun in the process.

Today we want to rotate the image and for this we use the function GMImage.Rotate. In the parameters we first specify the reference and then the number of degrees by which we want to rotate the image. The image will be rotated clockwise if the degree is positive and counterclockwise if the degree is negative. In our example file, I have included two buttons that rotate the image clockwise and counterclockwise. Both buttons call the same script. When pressing the buttons, different script parameters are passed, so we know which button was pressed. Clockwise passes the 0 and counterclockwise passes the 1. By how many degrees we want to rotate the image we specify in the appropriate field. The script looks like this:

(more)

Watch changes in MongoDB with Xojo application

We recently added MongoChangeStreamMBS class to watch changes in the database. You can monitor a database, a collection or the whole system. We show you today on how to use that in Xojo.

(more)

GraphicsMagick in FileMaker, part 5

🎄
5 of 24

Welcome to the 5th door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw them and much much more. In the end, you too can take the magic of GraphicsMagick to your images. I wish you a lot of fun in the process.

Today I would like to show you how you can scale an image according to your wishes. For this we use the GMImage.Scale function. In the parameters you have to enter the reference and a geometry. The geometry can look like the geometry we already know (width x height), but we can now also define other things in the geometry and are not limited to a fixed size of the image. So that you can try it yourself we have created a field in the sample file (This will be available on December 24) in which you can enter the geometry to test it. The script looks like this. We always load a fresh image from a file and then scale it with the function. In our container, the image is then scaled, we save the image there as usual and release the reference again.

Set Variable [ $GM ; Value: MBS("GMImage.NewFromFile"; "/Users/sj/Desktop/abc.png") ] 
Set Variable [ $r ; Value: MBS( "GMImage.Scale"; $GM; GraphicsMagick Advent::GeometrieScal ) ] 
Set Field [ GraphicsMagick Advent::Image ; MBS( "GMImage.WriteToContainer"; $GM ; "abc.png" ) ] 
Set Variable [ $r ; Value: MBS( "GMImage.Release"; $GM ) ] 

Let's first try the geometry we already know. I have entered 500x100 in the text field. The image is then scaled so that the smaller of the two values is assumed, so the image gets a height of 100 and the width is scaled proportionally. For example, if we were to specify 50 for the width and 100 for the height, then the image would adjust to the 50 and scale the height proportionally.

(more)

MBS @ FMTraining.TV - How to build an iOS SDK App

Check out the FMTraining.tv website. Richard Carlton and his team do a daily free live stream about FileMaker to watch.

A few days ago Christian Schmitz from Monkeybread Software joined a live episode to talk a bit about the MBS FileMaker Plugin. Watch it on YouTube.

We talk about how to build an iOS SDK App with the FileMaker iOS SDK and add the MBS Plugin later to it.

(more)

GraphicsMagick in FileMaker, part 4

🎄
4 of 24

Welcome to the fourth door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw them and much much more. In the end, you too can take the magic of GraphicsMagick to your images. I wish you a lot of fun in the process.

Today I will show you how to paint a border around an image. The focus is on the GMImage.Border function. This function again requires our reference.

Set Variable [ $r ; Value: MBS( "GMImage.Border"; $GM) ] 

When we use the function like this, a gray fine border is drawn around the image by default. If the image is very large, as you can see here, it is not so noticeable.

(more)

Crash Protection for Xojo methods

Sometimes you may have a situation, where you want to try something, that may crash. This may be a problem outside your control like a system or library function. Or some pointer reading may cause a page fault and you like to try it. Or some code produces crash reports for your users and you like to catch it and show a bug reporter dialog to get more details on why it crashes in a method.

We got recently a CallDelegateCrashSafeMBS module with a CallDelegateCrashSafeMBS method, that calls a method on your behalf. If it crashes, we raise a DelegateCrashExceptionMBS to inform you about it. The error message may tell the error like: "Delegate crashed with invalid pointer access."

(more)

GraphicsMagick in FileMaker, part 3

🎄
3 of 24

Welcome to the third door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw them and much much more. In the end, you too can take the magic of GraphicsMagick to your images. I wish you a lot of fun in the process.

So far we have requested information from images, But later in December we would like to change the images and would like to see this change when we put a filter on the image, for example. For this we need to be able to write the edited image which is in our working memory back to a file. How this works I will show you today. First we think about where we want to have our file. Do we want to write it into a file or into a container, for both we need again different functions.

Let's start with the case that we want to write the image into a file. For this we use the function GMImage.WriteToFile. This function writes a single image to the disk in the parameters we specify the image reference and the path to which the image should be saved. If you want to let the user choose in a dialog where to save the file you can use the functions from the FileDialog component. With these functions you can customize your save dialog by adding a text, a heading and many other settings. After selecting a file we can then get the file path and save the image with the GMImage.WriteToFile function to the specified location. In the script example we have used such a dialog.

(more)

MBS @ FMTraining.TV - The FileMaker Monkeybread Plug-in 12.5 Updates with Christian Schmitz

Check out the FMTraining.tv website. Richard Carlton and his team do a daily free live stream about FileMaker to watch.

A few days ago Christian Schmitz from Monkeybread Software joined a live episode to talk a bit about the MBS FileMaker Plugin. Watch it on YouTube.

We talk about what is new in MBS FileMaker Plugin 12.5. see also announcement, what's new and release notes.

(more)

GraphicsMagick in FileMaker, part 2

🎄
2 of 24

Welcome to the second door of our advent calendar in this advent calendar. I would like to take you on a journey through the GraphicsMagick component in December. Every day I will introduce you to one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, you can draw them and much much more. In the end, you can also take the magic of GraphicsMagick to your images. I wish you a lot of fun with it.

Today I want to find out with you some information about the loaded images. We will start with the size of the images. So we want to find out height and width. First we load our image into memory as we saw it yesterday. In our example there is a single image in the container.

Set Variable [ $GM ; Value: MBS("GMImage.NewFromContainer"; GraphicsMagick Advent::Image) ] 

Now we can retrieve different information. The width with the function GMImage.GetWidth and the height with GMImage.GetHeight function. The reference is passed to the functions in the parameters and we then get back the desired value.

Set Variable [ $Width ; Value: MBS( "GMImage.GetWidth"; $GM ) ] 
Set Variable [ $Height ; Value: MBS( "GMImage.GetHeight"; $GM ) ] 
(more)

MBS Xojo Plugins, version 22.6pr1

New in this prerelease of the 22.6 plugins: Download: monkeybreadsoftware.de/xojo/download/plugin/Prerelease/ or from DropBox.
Or ask us to be added to our shared DropBox folder.

MBS FileMaker Plugin, version 12.6pr1

New in this prerelease of version 12.6 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.

GraphicsMagick in FileMaker, part 1

🎄
1 of 24

Welcome to the first door of our advent calendar. In this advent calendar I would like to take you on a journey through the GraphicsMagick component. Every day I will present you one or more functions from this component. In this component you will find functions with which you can analyze images, convert them, change them with filters, draw on them and much much more. In the end, you can also take the magic of GraphicsMagick to your images. I wish you a lot of fun with it.

Today I will show you how to load an image from a file or container so that you can edit it in the later doors. When loading an image we have the possibility to load it from a container. For this we use the GMImage.NewFromContainer function. We pass the container to this function in the parameters. With this we load the image into the working memory and get a reference number as return which we can use in the other steps.

Set Variable [ $ref1 ; Value: MBS( "GMImage.NewFromContainer"; GraphicsMagick Advent::Image) ] 

If we have an image file with multiple images in a container, we have the function GMImage.NewImagesFromContainer that gives us a list of reference numbers. Each image in the container is loaded into memory and has its own reference number.

Set Variable [ $ref2 ; Value: MBS( "GMImage.NewImagesFromContainer"; GraphicsMagick Advent::Image ) ] 

The image cannot only be a container value, but also a file on your computer. You can then load this via the file path. We use the GMImage.NewFromFile function for this. We specify the native path in the parameters. If you have a FileMaker path, the path must first be converted to a native path. Then use the Path.FileMakerPathToNativePath function to do this. If you want, you can optionally specify a codec here that will take care of decoding the image.

Set Variable [ $ref3 ; Value: MBS( "GMImage.NewFromFile"; "/Users/sj/Desktop/IMG_4420.jpeg"; "JPEG") ] 

(more)

MBS FileMaker Plugin Update 2022

A recording of our presentation from EngageU conference to talk about what is new in 2022 for MBS Plugin for Claris FileMaker.

All movies   Watch on YouTube.   FileMakerUpdate2022.m4v   Transcript


Xojo Developer Conference London

Xojo Inc. is happy to host a developer conference in Europe:



Mark your calendar for Xojo Developer Conference in London at the Hilton London Euston from April 26-28, 2023! We will be packing up the whole Xojo team for a 3-day conference - full of new sessions, new speakers and lots of opportunities to network and socialize. We hope to see you there!

Registering early guarantees you a spot, helps us with planning, and gives you the best pricing. From now through the end of this year you can register for $475! To get this special pricing, register now!

We look forward to see you in London. This will be the first official Xojo conference to come to Europe. London is a place easily reachable for both Americans and Europeans. Even from Asia and Australia you can have many direct flights. From Heathrow you can take Piccadilly line to Russell Square and walk to the hotel. Your NFC enabled credit card (wifi style symbol on it) will do fine as ticket to pay when you check-in and check-out. Same with mobile phones that do NFC, e.g. Apple Pay.

Since the hotel is close to Euston train station, people from Glasgow, Edinburgh and Manchester can easily come by train. The nearby Pancras station has trains coming over from Paris, Brussel and Cologne. With just 4 hours from Cologne to London, it may be faster to take the train than to take the hassle of driving to the airport.

With this conference, we come back to the three day conferences from the past. Compared to the recent retreat event, this allows for many more sessions and more time to talk to all the fellow developers. We hope to see you there!

News from the MBS Xojo Plugins Version 22.5

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

Scan documents with iOS

Our new class VNDocumentCameraViewControllerMBS provides the ability to scan documents for iOS. The class shows a panel to allow the user to scan a document. You can call this panel with the Present method. If you have scanned the document successfully the event didFinishWithScan fires and gives us the scan result as an object of the class VNDocumentCameraScanMBS. In this object we can then, for example, query the number of pages, adjust the title of the document or handle the individual pages as a Picture. For example, you can generate a PDF from these pages.

If you like to scan an image or document with an application running on your Mac with an iOS device that has the same account and is logged in to the same network, the Continuity Camera topic is a good choice. In this release, the ContinuityCameraMBS class has two new events. The event Allow gives us the information whether to allow the control to receive data. In addition the new event Received is called when data is returned. This data is then available as a memory block from which it can be read.

(more)

Thanksgiving Sale

For this year's Thanksgiving in America, we offer again discounted licenses for our MBS Plugins for FileMaker and Xojo.

Sale ended. Any pending order arriving before 1st Dec will still be honored. And then the coupon code is invalid.

Older blog entries:

2022-11-22 SMTP with OAuth for Office 365 in FileMaker
2022-11-21 The IsNumeric function in Xojo
2022-11-17 MBS FileMaker Plugin 12.5 News
2022-11-14 The Xojo Storewide Sale Starts Now!
2022-11-10 JSON problem fixed
2022-11-09 PhotoPicker for iOS with FileMaker iOS SDK
2022-11-09 Add Google Ads to your Xojo app
2022-11-08 MBS Plugin 12.5 for Claris FileMaker - More than 6800 Functions In One Plugin
2022-11-08 MonkeyBread Software Releases the MBS Xojo Plugins in version 22.5
2022-11-08 Neues MBS Plugin 12.5 für Claris FileMaker
2022-11-04 MBS Xojo Plugins, version 22.5pr7
2022-11-04 MBS FileMaker Plugin, version 12.5pr7
2022-11-03 Search relationship graph for Windows
2022-11-02 MBS Xojo Plugins, version 22.5pr6
2022-11-02 MBS FileMaker Plugin, version 12.5pr6
2022-11-01 xDev Magazine 20.6
2022-10-31 Two weeks until the EngageU FileMaker conference
2022-10-30 Install FileMaker Server on Windows 11 on Apple Silicon
2022-10-29 MBS Xojo Plugins, version 22.5pr5
2022-10-29 MBS FileMaker Plugin, version 12.5pr5

Archives

Dec 2022
Nov 2022
Oct 2022
Sep 2022
Aug 2022
Jul 2022
Jun 2022
May 2022
Apr 2022
Mar 2022
Feb 2022
Jan 2022
Dec 2021
Nov 2021
Oct 2021
Sep 2021
Aug 2021
Jul 2021
Jun 2021
May 2021
Apr 2021
Mar 2021
Feb 2021
Jan 2021
Dec 2020
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

Ausspannen vom Alltagsstress mit einer Waldführung oder einem Waldpäuschen mit der Waldmeisterin.