Our Blog, Filemaker only, Xojo only, Archive, Follow us on Twitter or Facebook.

FileMaker conferences

Friday 19 September 2014 at 1:40 pm
0You can meet me in Winterthur, Toulouse and in just two weeks in Den Haag to learn more about the MBS FileMaker Plugin.

FileMaker conferences:

MBS Xojo Developer Conference starts soon

Tuesday 16 September 2014 at 11:17 pm
Tomorrow our training day starts and in evening we meet in beer garden (see picture) and you are welcome to join!
Later we go for dinner in the hotel restaurant.

If you like to attend, please register soon. We already have participants from 11 countries.

Xojo developers coming for a visit for dinner are welcome.
If you like to come Thursday, please contact me so you can join our dinner event.

[ANN] MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.3

Tuesday 16 September 2014 at 3:06 pm
NICKENICH, Germany (September 16th, 2014) -- Monkeybread Software releases version 14.3 of the MBS plug-in for Xojo and Real Studio.

The MBS plug-in comprises a collection of several plug-in parts which extend the Xojo (Real Studio) development environment with 2,100 classes featuring over 53,000 documented functions. Our plugins support all three platforms Mac OS X, Windows and Linux with all project types desktop, web and console.

Some of the highlights on the 14.3 update:

For applications in the Mac App Store, we have the StoreKit functions to handle in-app purchases. With the new plugin we add classes to read details from the app store receipt and check which in-app purchases have been purchased. Our plugin can also verify if the receipt is valid.

Our CURL Plugin can send and receive emails for years now via IMAP, Pop3 and SMTP. With the new plugin class CURLEmailMBS we make it easier to build the emails for sending. So you can assemble an email with HTML, plain and rich text parts, attachments and various addresses and send it via SMTP server through CURL classes.

For Mac we implemented the Image Capture classes and various views. So you can show the same user interface as Apple's applications. There is a device selector view, a scanner and a camera view. You can access devices like scanners and cameras, browse, import or scan images.

Our new TimerMBS class provides a high resolution cross platform timer. While Xojo's built in timer only fires 60 times per second on Windows, our timer can run a quick as 1000 times per second.

The new UDP Socket class in our plugins provides some more low level options for UDP. For example you can reuse addresses for multicast.

For printing we got improvements for both Mac and Windows. The NSPrintInfoMBS class can now be used to modify PrinterSetup.SetupString to enable different options like duplex printing or switch printers. Similar things can be done on Windows using the WindowsDeviceModeMBS class using new functions.

Our SQL Plugin now supports better using SSL with MySQL. The new ConnectionHandler events allow you to specify extra options for connecting. The SQLDatabaseMBS class now raises exceptions if you call unsupported functions. This avoids trouble for unintended calls.

This update includes a lot of little improvements like get/set RTF data on a TextArea on Windows using native methods which is more efficient. We already have similar functions for Mac, so you can avoid using StyledText class methods. Our WinThumbnailMBS function provides preview images of supported file types on Windows.

With this update, we also provide updated libraries like zint, PortAudio, OpenSSL 1.0.1i, CURL 7.37.1, DynaPDF, LCMS 2.6 and LibXL 3.6.0.

See release notes for a complete list of changes.

MBS FileMaker Plugin 4.3 for OS X/Windows - More than 2700 Functions In One Plugin

Tuesday 16 September 2014 at 1:55 pm
Nickenich, Germany - (September 16th, 2014) -- MonkeyBread Software today is pleased to announce MBS FileMaker Plugin 4.3 for Mac OS X or 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, Mac, 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 4.3 has been updated and now includes over 2700 different functions, and the versatile plugin has gained more new functions:

For Mac OS X we added new functions for the toolbars in FileMaker. We can save and restore the current configuration of the toolbar. This way you can show and hide toolbar buttons by script commands. For example go to a layout where you show a print button and than move to another layout without a print button. Next you can change the background of the toolbar to feature an image of your choice. And finally you can even add your own custom toolbar items which call a script when clicked. So you can use the toolbar to navigate your solution.

With our new SendMail functions you can create emails with multiple recipients, multiple attachments and content as html, plain or rich text. The composed email is than delivered to the SMTP server using our existing CURL functions.

Our barcode functions for creating barcode images now can export images as SVG, Postscript or bitmap picture files like JPEG or PNG. We added more options for various barcodes like the error correction level for QR Codes.

For our SQL functions to connect to other databases, we added new options to connect to MySQL with SSL encryption. We optimized the handling of PDF in blob fields and parameters with new functions.

Our support for Windows operation system improved. Now you can use ListDialog, Icon reading, file kind and MenuItems functions on Windows.

One speciality of PDFKit on Mac OS X is the possibility to use Quartz filters for saving a PDF. We got functions to query list of installed filters and functions to show the filter manager window. Once you have a filter, you can apply it for saving and for example use an image compression filter. This can greatly reduce file size of the generated PDF file. If you need similar functions for Mac and Windows, please check our DynaPDF functions.

Xojo Meeting in Hamburg, Germany

Tuesday 16 September 2014 at 12:01 pm
Interested in a Xojo meeting in Hamburg?
I'll be there in two weeks and would like to offer a dinner meeting.

Which date would you prefer?
30th September, 1st to 3rd October?

Survey to find date

MBS Xojo / Real Studio Plugins, version 14.3pr11

Sunday 14 September 2014 at 11:58 am
New in this prerelease of the 14.3 plugins:
  • Changed PictureMBS constructor so you can pass nil for temp folderitem for mac and linux and get an automatically temp file.
  • Added UDPSocketMBS class.
  • Updated DynaPDF to version
  • Added CGBitmapContextMBS.Create function which takes existing bitmap to make new object with different color space.
  • Fixed bug in CombineTiff8BitCMYKtoTiffMBS.
  • Changed PictureMBS.Constructor to no longer use 64 KB blocks on Windows. Now using 4 KB blocks which makes smaller temporary files.
  • Fixed bug with AddAttachment with CURLEmailMBS class.
Download: macsw.de/plugin/Prerelease. Or ask us to be added to our shared Dropbox folder.

MBS Filemaker Plugin, version 4.3pr11

Sunday 14 September 2014 at 10:10 am
New in this prerelease of the 4.3 plugins:
  • Updated DynaPDF to version
  • Added DynaPDF.GetEmbeddedFileCount, DynaPDF.GetEmbeddedFileAsContainer and DynaPDF.GetEmbeddedFile.
  • Added Socket.AvailableBytes function.
  • Changed DialogModifications.Set to be insensitive to letter case and improved handling of umlauts and other special characters.
  • Added Socket.ReadLineHex and Socket.ReadLine functions.
  • Added Socket.PeekAll, Socket.PeekAllHex, Socket.ReadAll and Socket.ReadAllHex.
  • Fixed XL.Sheet.SetRow to only require 4 parameters, not 6.
  • Added Socket.CloseAll function.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Tip of the day: Double comparison

Thursday 11 September 2014 at 10:34 am
Just run into the problem this week that double comparison often works, but also fails unexpected in an application. This remembers again to use comparison with tolerance for double variables. Like here with abs() and a 0.01 tolerance:

dim d as Double = 10 dim e as Double = 1.19 dim f as Double = d * e // checking exact fails if 11.90 = f then Break else Break end if // better check with tolerance if abs(11.90-f) < 0.01 then Break else Break end if

Tip of the day: Start your Mac with pressed Shift Key

Wednesday 10 September 2014 at 10:43 am
Just a little thing you can do every few months:
Press Shift key to start your Mac in safe mode. Than restart to get back to normal.
When doing that Mac OS X will do some cleanup and empty some folders with temporary files apps forgot to delete.
Freed 2 GB for me today :-)

MBS Xojo / Real Studio Plugins, version 14.3pr10

Tuesday 09 September 2014 at 11:28 pm
New in this prerelease of the 14.3 plugins:
  • Rewrote DynaPDFMBS.RenderPagePicture function.
  • Added CURLEmailMBS class.
  • Added AUPlayerMBS.MaximumFramesPerSlice property.
  • Added FromSetupString and SetupString methods to WindowsDeviceModeMBS class.
  • Added parameters for WindowsDeviceModeMBS to read/write DEVMODE in either ANSI oder Unicode.
  • Added NSPrintInfoMBS.SetupString compatible to PrinterSetup.SetupString.
  • Added PDFDocumentMBS.PrintOperation.
  • Improved NSPrintInfoMBS class to have more debugger visible properties.
  • Added NSAppearanceMBS class.
  • Changed a lot of properties in NSWindowMBS to make them visible in debugger.
  • Added NSToolbarMBS.configurationDictionaryData.
  • Added raster support for Cairo style picture objects in Linux desktop.
  • Fixed some bugs with AppReceiptMBS class.
  • Added SQLCommandMBS.isExecuting property.
Download: macsw.de/plugin/Prerelease. Or ask us to be added to our shared Dropbox folder.

PS: In newer plugins, the WindowsTimerMBS class got renamed to TimerMBS.

MBS Filemaker Plugin, version 4.3pr10

Tuesday 09 September 2014 at 8:41 pm
New in this prerelease of the 4.3 plugins:
  • Added Text.TextToHTML function.
  • Added GMImage.ReplaceColor function.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Updating PrinterSetup.SetupString on Windows

Tuesday 09 September 2014 at 2:37 pm
Same as for Mac is also possible on Windows:

dim p as new PrinterSetup // setup something call p.PageSetupDialog // now we have nice setupstring dim ss as string = p.SetupString // parse it in device mode dim d as WindowsDeviceModeMBS = WindowsDeviceModeMBS.FromSetupString(ss) // duplex is? MsgBox "Duplex: "+str(d.Duplex) // change printer d.DeviceName = "Deskjet 2540 series#:2" // enable duplex d.Fields = BitwiseOr(d.Fields, d.DM_DUPLEX) d.Duplex = d.DMDUP_HORIZONTAL // now duplex is? MsgBox "Duplex: "+str(d.Duplex) // get back as setup string dim da as string = d.SetupString if da = "" then MsgBox "failed to create setup string" Return end if // assign back p.SetupString = da // take a look call p.PageSetupDialog // and print something dim g as Graphics = OpenPrinter(p) g.DrawString "Page 1", 20, 20 g.NextPage g.DrawString "Page 2", 20, 20
So next plugins may help you if you need to modify printer setup strings on Mac and Windows.

Updating PrinterSetup.SetupString on Mac OS X

Tuesday 09 September 2014 at 1:19 pm
With next plugins, we can use new NSPrintInfoMBS methods to directly convert SetupString from PrinterSetup class into NSPrintInfoMBS object. So we can change paper format, printer selection and a couple of other properties:

// start with a printer setup dim p as new PrinterSetup // clone to NSPrintInfo dim info as new NSPrintInfoMBS(p.SetupString) // find out what name second printer has dim printers() as string = NSPrinterMBS.printerNames dim printer as NSPrinterMBS = NSPrinterMBS.printerWithName(printers(1)) // now set a new paper size and this printer info.paperSize = new NSSizeMBS(72*5, 72*6) // 5 by 6 inch info.printer = printer // and clone back p.SetupString = info.SetupString // now print to this printer with this paper dim g as Graphics = OpenPrinter(p) g.DrawString "Hello", 10, 10
As you see we can use modified setup string for using normal Xojo printing functions!

PDF printing via PDFKit

Tuesday 09 September 2014 at 11:26 am
With next plugin prerelease, you can print PDF using PDFKit directly in Xojo:
// select a PDF dim f as FolderItem = GetOpenFolderItem("") if f = nil then Return // open PDF dim doc as new PDFDocumentMBS(f) // define some print setting via PrintInfo dim PrintInfo as new NSPrintInfoMBS // start print operation dim printOperation as NSPrintOperationMBS = doc.PrintOperation(printinfo) // set options on operation printOperation.showsPrintPanel = true printOperation.showsProgressPanel = true // and run it call printOperation.runOperation
That is same command as we use for PDFKit.Print in our FileMaker plugin.

Registration Now Open for XDC 2015

Monday 08 September 2014 at 10:26 pm
Registration is now open for the 2015 Xojo Developer Conference (XDC), taking place in Austin, Texas April 29 - May 1, 2015 at the Radisson Hotel. XDC includes over 30 technical sessions presented by the company's development staff and leading users from around the globe. In addition, XDC will include a keynote address from Founder and CEO Geoff Perlman, numerous opportunities for attendees to interface with the Xojo engineers themselves, networking events with other Xojo users from the international community, and a new and exciting gaming code battle.

XDC features sessions on best practices, special interests and other technical issues, with content for every level of Xojo developer - from newcomers and students to advanced sessions for Xojo experts and professionals. With the introduction of the iOS platform in 2014, Xojo engineers will cover sessions at XDC on iOS development and best practices.

Conference pricing:

Early Registration Price, Ending 11/30/2014: $749
Advanced Registration Price, 12/1/2014 - 2/1/2015: $899
Advanced Registration Price, 12/1/2014 - 2/1/2015: $899

The Radisson Hotel is offering XDC attendees a special hotel room rate of $169/night during the conference. For more information, please visit: xojo.com/xdc or register now!

MBS Xojo Developer Conference in two weeks

Saturday 06 September 2014 at 11:22 am
Just two weeks left until the conference starts. If you like to attend, please register soon. We already have participants from 10 countries and the hotel will soon run out of available rooms.

On the weekend of conference, there is the

3 Tage Stadtfest. Musik und Unterhaltung auf 6 Bühnen. Kunsthandwerkermarkt, Mittelalterspektakel, Burgunderfest, Autoschauen und Weinfest.

3 days city festival, Music and Entertainment on 6 stages. Artisans market, Middle Ages spectacle, Burgundy wine festival, car presentation and wine festival.

17th - Xojo Training in German
18th and 19th - MBS Xojo Conference in English
20th - Xojo Training in English

MBS Xojo / Real Studio Plugins, version 14.3pr9

Friday 05 September 2014 at 8:14 pm
New in this prerelease of the 14.3 plugins:
  • Updated CURL to version 7.37.1
  • Added DynaDFFontInfoMBS class.
  • Updated DynaPDF to version
  • Added CurrencyValueMBS function to replace val() for parsing big numbers into currency data type.
  • Rewrote EncodingToQuotedPrintableMBS and DecodingFromQuotedPrintableMBS.
  • Changes to NSApplicationDelegateMBS require that you initialize your delegate subclass in app.constructor to receive the restoreWindowWithIdentifier events later.
Download: macsw.de/plugin/Prerelease. Or ask us to be added to our shared Dropbox folder.

PS: In newer plugins, the WindowsTimerMBS class got renamed to TimerMBS.

MBS Filemaker Plugin, version 4.3pr9

Friday 05 September 2014 at 5:24 pm
New in this prerelease of the 4.3 plugins:
  • Updated CURL to version 7.37.1
  • Added NoReturnEnding parameter for List functions.
  • Fixed bug from pr8 where text was too short returned by various plugin functions.
  • Updated DynaPDF to version
  • Added new SendMail functions to build emails and send them via CURL.
  • Added String.DecodeFromQuotedPrintable and String.EncodeToQuotedPrintable.
  • Changed Dialog.Run on Windows to make dialog task modal.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

You make backups?

Friday 05 September 2014 at 2:17 pm
On monday I wondered why my Time Machines stopped doing backups. Preparing took forever. Later that day I got messages from my scripts for building plugins about NilObjectExceptions. Turned out that operations like creating folders or creating binarystreams failed for virtual volumes. Later in evening the Finder started complaining that disk is full when copying files. VMWare stopped to launch as it could not write file for virtual memory. SMART analysis of my disk gave no errors, so I presumed a failure in the internal data structures for managing blocks.

Well, a SSD is a dream in speed, but when management fails on various levels, there is not much to repair like a good old hard disk with real disks.

I do have backups: Online backup (so I can backup at client office, in hotel, etc.), Time Machine (Apple's backup software) with several Time Capsules in various places and an external bootable USB disk for cloning. So I updated my clone with last changes, formatted my internal SSD and cloned things back. Now everything is right and not a single file is lost.

If the clone is not an option, e.g. outdated, I would have used time capsule to restore last backup and use my online backup to get the changed files from the last 2 days.

What do you do for backup?

If you are interested in online backups and you want to use your own webspace or your own S3 account (Without an intermediate company between), you can use Arq from Haystack Software. It's a nice app to run in background and upload changed files. I'm using it now for over 2 years. Any I often see myself restoring files using Arq instead of Time Machine due the easier to use browsing.

If you like to order a copy, you can use this coupon code for 10% off: U17ITZRZL4UPIVBK (expires September 30, 2014).

I'm not affiliated with Haystack Software and just an user enjoying this software.

FileMaker Meeting in Colonge

Friday 05 September 2014 at 10:31 am
FileMaker Stammtisch Köln

10. September, 19:00 Uhr im Pohlhof in Köln.

Pohlhofstr. 3, 50765 Köln, www.pohlhof.de

Neues zu FileMaker, zu den Konferenzen und ich zeige gerne, was es neues im MBS Plugin gibt.

Older blog entries:

2014-09-04 xDev Magazine Issue 12.5
2014-09-04 FileMaker Magazin 2014/04
2014-09-03 Currency Data Type
2014-09-02 MBS Filemaker Plugin, version 4.3pr8
2014-09-02 MBS Xojo / Real Studio Plugins, version 14.3pr8
2014-09-02 .fmp[x]Berlin 2015
2014-09-01 Menus for Windows coming
2014-09-01 ICC color profiling
2014-08-31 FileMaker DevCon Videos
2014-08-30 Validating Receipts of Mac App Store Purchases including In-App Purchases
2014-08-28 Research Triange Park Group Meeting
2014-08-28 MBS Xojo Developer Conference in three weeks
2014-08-27 Toolbar functions for FileMaker on Mac
2014-08-26 Tip of the day: Weak Property pattern
2014-08-26 MBS Filemaker Plugin, version 4.3pr7
2014-08-26 MBS Xojo / Real Studio Plugins, version 14.3pr7
2014-08-25 Thanks
2014-08-25 Second teaser
2014-08-24 A Teaser
2014-08-23 New Timer for Windows


Sep 2014
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