Happy new Year 2012

The year ends and it was a great year for us. We had two conferences hosted in Germany this year. First in May in Essen with ASH and second in November in Frankfurt on our own. We also participated in other events like the Filemaker Conference in Hamburg.

With our plugins, we had several transitions this year:

On the Real Studio plugin, we had quite a few transitions:
  • First we had to move 400 plugin parts from CodeWarrior to Visual Studio 2008. Also a few plugins which had already been with Visual Studio 2005 had to move to 2008 version. That change had a few side effects and it needed a few releases to fix them all. One benefit is better code output.
  • Next we moved to Mac OS X 10.7 for compiling on Mac. For this move we now use Xcode 4 for the Mac Intel plugins and a copy of Xcode 3 for the PPC parts. Works well and we can support PPC a little bit longer.
  • The transition to Cocoa is also huge. We updated a lot of functions to support Cocoa like our methods for the window class. For others we simply updated documentation and hint to newer Cocoa classes.
  • The biggest transition so far are the new alpha channel pictures. So far we updated dozens of plugin parts to support new alpha channel pictures. At least like the old ones and ignore the alpha channel. But of course in the future we'll have to thing a lot how to handle mask and alpha channel for each of them. This is really difficult to support more than 20 combinations of Real Studio versions, platforms, picture class flavors and color depths.
On the Filemaker plugin we moved from Visual Studio 2005 to 2008 and from Xcode 3.x to Xcode 4.x. That was really a smooth transition and the only side effect is that we dropped PPC target.

For 2012, we plan to take part in a lot of events. First Real World 2012 in Orlando, Florida in May. Than of course Filemaker Conference in Salzburg in October. In-between a couple of smaller meetings like the Real Studio meeting 20th January in Esslingen (near Stuttgart in Germany), the Filemaker meeting in Hamburg on 12th January and a couple more. For example we plan a spring Real Studio meeting for London. Maybe also one in Paris or in Switzerland.

On our plugins, we'll continue our work to release a new Filemaker plugin soon with new CURL and CUPS functions. And for Real Studio we'll have a 12.0 version coming to update several plugin parts and a couple of new functions, especially with LCMS2, WMI and a new class for directory watching on Windows.

We wish you and your family a happy new year 2012! And see you soon on an event in your area :-)

Merry Christmas

Frohe Weihnachten und ein gutes neues Jahr!
Dieses Jahr hat Michael fleißig mitgeholfen beim Backen :-)

Merry Christmas & Happy New Year
This year Michael helped a lot with backing cookies.

Joyeux Noël et Bonne Année

Buon Natale e Felice Anno Nuovo

Michael, Monika & Christian Schmitz

MBS Filemaker Plugin, version 2.5pr3

New in this prerelease of the 2.5 plugins:
  • Added Math.HexToDec and Math.DecToHex.
  • Added new optional NoAnimation parameter to Window.Resize function.
  • Trace function now works again with logging to file.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/

Mapping addresses to geo coordinates

Recently a client asked how to map addresses to geo coordinates in Filemaker. He had a web service doing it and wanted to script it in Filemaker with our plugins.

The website is findlatitudeandlongitude.com. If you go there, you see a form where you can enter an address, press a button and have the coordinates shown on the right as longitude and latitude.

In order to script this website in Filemaker, you can load it in our Form utility application (included in Plugins download). There you see there is a form named load_location with a text field "loc". Our form utility shows you the Filemaker calculation line to fill text inside: MBS( "WebView.SetFormInputValue" ; WebViewerRef; "load_location"; "loc"; Value )

Now of course we need a web viewer in Filemaker and give it a name. We use "web" in our examples as the name. So in the examples it's MBS( "WebView.SetFormInputValue" ; "web"; "load_location"; "loc";Latitude Longitude Lookup::Address ).

Next you need to have a little script pause so the web viewer can update. Now if you check the button in the html source (or your favorite web inspector), you discover that it has javascript code calling a function load_address. And instead of using FormSubmit function from our plugin, you need to call that javascript method. So you use this command: MBS( "WebView.RunJavaScript" ; "web"; "load_address(document.load_location.loc.value);") With WebView.RunJavaScript, you run a little javascript piece of code. And the code is what we copy right away from the html source. A lot of websites use that to load information without reloading the page.

Okay. Next we do a pause step, so the website can do the lookup and show information. 2 seconds may be enough. After that pause, we need to get the values. With your favorite web inspector you can see that the latitude is shown in a div with id lat_address in the second text inside that div. To get the value, we use javascript again. In javascript document.getElementById queries the div with the right id. The children() function gives us second child of that node and innerText gives the text inside. To run this javascript, we use WebView.RunJavaScriptReturnTitle as we need the result. So we assign result to document.title and the plugin gives us that value in Filemaker. Final calculation for this looks like this: MBS( "WebView.RunJavaScriptReturnTitle" ; "web"; "document.title = document.getElementById('lat_address').children[1].innerText") For longitude it's the same, just different names.

Well, I hope this example helps you. If you have questions, please don't hesitate to ask questions. Or simply ask us for a kick start help for your website. And don't forget that this breaks as soon as the website changes the layout.

Have fun. Here is the example project: latitudelongitudelookup.fp7.zip

PS: Same can be done in Real Studio with our htmlviewer extensions.

MBS Filemaker Plugin, version 2.5pr2

New in this prerelease of the 2.5 plugins:
  • Improved reading containers for Container.GetJPEG* functions, especially for external jpeg files. Same for PDFKit, GraphicsMagick and functions
  • Please note: You need a Developer license for creating Runtimes.
  • Added CURL plugin functions.
  • Added CUPS plugin functions.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/

Filemaker meetings

I'll be at the meeting in Ulm this week (8th December at 19 o'clock) and at the January meeting in Hamburg (12th January).

Please come for a visit and learn directly about our plugins from me.
Also if you know another meeting where I can attend, please tell me.

Filemaker meeting in Ulm

There is a Filemaker meeting in Ulm (Germany) next week and maybe you like to attend?
I'll present my newest Filemaker plugin additions (version 2.5 preview) and the highlights from version 2.4.

Meeting is 8th December 2011 at 7pm in Ristorante Pizzeria Capri in Neu Ulm.

More details on the website.


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