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


FileMaker DevCon Early Bird offer ends next week

Wednesday 20 May 2015 at 12:51 pm
The early bird offer ends next week, so be quick if you like to join the FileMaker Developer Conference in Las Vegas. Would be bad to decide too late and pay $500 more...

The Developer Conference is a great chance to meet over 1200 other FileMaker developers from all around the world. Not to forget that Las Vegas is a great place to visit!

Even if you are not so interested in casinos, you can take a car and drive outside the city to visit some desert like Red Rock Canyon. Or drive to Boulder and visit the Hoover Dam.

And did you know that if you sign up as a company with a group of 4 developers, the 4th ticket is free?

MBS will be present with a booth, so visit us there!


Local Xojo Meetings in the next months

Wednesday 20 May 2015 at 10:46 am
As you may know I travel a lot this year and so we got a couple of upcoming Xojo developer meetings:
Ottawa Canada 21st May
Montreal Canada 28th May
Berlin Germany survey
Newcastle upon Tyne United Kingdom survey
Kiel Germany survey
Reykjavik Island survey
Las Vegas USA survey

If you want to join, please contact me, so I can put you on the list. Suggestions for meeting places or restaurants are welcome.

MBS FileMaker Plugin 5.1 for OS X/Windows

Tuesday 19 May 2015 at 1:35 pm
Nickenich, Germany - (May 19th, 2015) -- MonkeyBread Software today is pleased to announce MBS FileMaker Plugin 5.1 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 5.1 has been updated and now includes over 3100 different functions, and the versatile plugin has gained more new functions:

We added new plugin functions for markdown processing. Markdown is a markup language with plain text formatting syntax designed to be converted to HTML. Using our plugin you can process markdown text and create HTML.

Our new Dictionary commands allows you to pack various parameter for a script call in a dictionary. You pass this dictionary to the called script and there extract the variables with just one MBS call. This preserves data types for all transferred variables like containers.

The MBS Plugin offers for some time now various functions for the clipboard. Now in this version are functions to put file paths on the clipboard and to query them. For example an user can copy files in Finder or Explorer and run a script to import those files into the database.

Our ListDialog functions got a new grouping feature. And you can fill the dialog now with a SQL statement.

The menu functions now allow you to specify font details for menu entries. You can set font, color, size, italic, bold or underline. To create menu you can now use a text definition for our quick menu function.

If you know SQL, you can use our FM.InsertRecordQuery function to easily copy records from one table to other table. An SQL query can query data from various tables and insert the result in another table. With the FM.InsertRecord function you can now add a record to a table with one function call. And the new FM.SQL functions allow you to query values from a SQL query result with native data types.

For DynaPDF we got new function to query fonts in PDF document and fonts on your local computer. For your PDF documents you can now define print settings, e.g. define that your document should be printed duplex. In addition you can edit templates and set fonts for form fields.

Finally we got new functions for environment variables, mounting network volumes, password encryption for zip archives, a timeout for socket connections and paper options for Twain scanning.

More details in the release notes. Please take the time to check our 300 example databases and check where you can use our plugin features in your solutions.

MBS Releases the MBS Xojo / Real Studio plug-ins in version 15.1

Tuesday 19 May 2015 at 11:58 am
NICKENICH, Germany (May 19th, 2015) -- Monkeybread Software releases version 15.1 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 55,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 15.1 update:

We added a new plugin for markdown processing. Markdown is a markup language with plain text formatting syntax designed to be converted to HTML. Using our plugin you can process markdown text and create HTML on the fly.

For this release we updated ChartDirector to current version 6. Beside some useful tweaks for various charts like glares, round edges and extra colors, this new release adds PDF output. You can now render a chart as a PDF file with vector graphics. For some complex charts we can fall back to a picture embedded in a PDF file.

For the Map, HashMap and Set classes in our plugin, you can now switch between case sensitive and case insensitive string comparison. Those specialized classes act like a dictionary, but can provide better performance by avoiding variants.

Our plugins include various classes for CoreGraphics, the graphics framework on OS X. Improvements have been made to CGPathMBS class with a new helper class CGPathElementMBS so you can inspect a path content. The CoreGraphics display class got a new property to check the refresh rate of the screen.

For Windows graphics, we got additional methods in the WindowsBitmapMBS module. Here you can find functions to convert between HBITMAP and HDIB as well as Xojo pictures. Related to this are new methods on our GraphicsMagick and ImageMagick image classes to get a HBITMAP. This is useful for declares to Windows APIs and passing images.

The HTMLViewer in Xojo can have various platform specific backends. For the Mac part, we added support to WebUIDelegateMBS for multiple selection in file open dialogs. For Internet Explorer on Windows, we added a new way to load HTML from memory and a function to check the reference count. When using Chromium instead we can also check reference count and adjust.

For OS X we improved our QCView classes and added a full functional control for showing Quartz Compositions. The repository class helps you locate compositions.

Our SQL Plugin got new functions to receive notifications for postgre SQL databases. We also got a Trace event for our SQLDatabaseMBS class to better log what is happening. For MySQL we can now repeat requests in case of a dead lock.

In this release we updated ChartDirector to version 6.0, DynaPDF to 3.0.39.113 and LCMS to 2.7. While Xojo Inc. announced 64-bit support for upcoming Xojo versions, this plugin version does not yet support 64-bit targets.

See release notes for a complete list of changes.

Dash help archives updated

Tuesday 19 May 2015 at 11:04 am
Just updated the archives for the Dash application. Does the auto update work for you?

So here you can click to launch Dash and install our plugin help:
MBS Xojo Plugin and MBS FileMaker Plugin

You can download the archives manually on our website: FileMaker and Xojo (Real Studio).
Feedback is welcome.

xDev Magazine Issue 13.3

Monday 18 May 2015 at 11:22 pm
The May/June 2015 (13.3) issue of xDev Magazine is now available. Here's a quick preview of what's inside:
  • The Xojo Future * by Marc Zeedar
    Geoff Perlman's keynote address at XDC is like the Xojo State of the Union -- it sets the tone for the year and gives us a vision of the future. While we all want our new features now, the reality is that things take time. Here's what's coming and what you need to know to prepare yourself.
  • Too Much Fun! * by Marc Zeedar
    XDC isn't just endless tech lectures and hotel food -- it's adventure and experiences in a new city, connecting with internet colleagues, and fervent debates about our favorite development tool. This year was particularly enjoyable (there was even a murder during dinner), so Marc's included lots of pictures for those who couldn't be there.
  • Metrics for Personal Health * by JC Cruz
    As part of his ongoing personal health journal project, JC Cruz explains how to collect and analyze raw data into health metrics that actually make sense to the user.
Plus: custom operators, enterprise data modeling tools, Xojo 2015r2, Xojo games, tips, and much more.

MBS Xojo / Real Studio Plugins, version 15.1pr9

Saturday 16 May 2015 at 8:15 pm
New in this prerelease of the 15.1 plugins:
  • ChartDirector 6 now registers if you have a current license key.
  • Fixed SetBoolCapability, SetUInt16Capability, SetInt32Capability and SetFloatCapability in TwainMBS class to actually pass right parameter.
Download: macsw.de/plugin. Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 5.1pr9

Saturday 16 May 2015 at 6:03 pm
New in this prerelease of the 5.1 plugins:
  • Added DynaPDF.EditTemplate, DynaPDF.EditTemplate2 and .
  • Add SetFunctions to limit what functions the plugin allows you to call.
  • Changed DragDrop feature to accept promised file drops. This allows files to be dropped from Photos app to FileMaker.
  • Fixed bug in Path.NativePathToFilemakerPath.
  • Changed DynaPDF.Save to close current page if you forgot that.
  • Added Twain.SetPaper, Twain.SetPaperSize and Twain.GetPaper functions.
  • Some smaller fixes for FileMaker 14.
  • Fixed SyntaxColoring for comments for FileMaker 14.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

Xojo Developer Meeting in Berlin Germany

Saturday 16 May 2015 at 12:37 pm
As I come to Berlin in early June, I'd like to organize a Xojo developer meeting there.

There is a lot to tell about the recent XDC conference, upcoming 64-bit support and future Xojo releases. To learn if there is interest and what could be the best dates, I started a few surveys:

Survey Xojo Meeting in Berlin

Once we see interest for dates, we can schedule them and look for a location. If you have a recommendation for a restaurant or you can provide a meeting room, please contact me. Also if you are not a MBS customer, please email us, so we can contact you with details.

Put reports on letter paper with MBS FileMaker Plugin and DynaPDF

Saturday 16 May 2015 at 12:16 am


Using MBS FileMaker Plugin and our DynaPDF functions, you can process a report generated by FileMaker and put a letter paper behind each page. Our example database (in next prerelease) shows you how to do this.

You can use two PDFs for letter paper, one for first page and second one for other pages. The letter paper PDFs can be stored in container fields or files on disk. You can have either one PDF for both pages or two PDFs, one for each page. Your script can even dynamically switch for each report to use different PDFs depending on the company branch, customer language or other criteria.

The only important thing is to have the report draw no background in the PDF which would hide the underlaying letter paper content. Of course we could add more plugin functions to remove unwanted background from a PDF for such a processing.

(The watermark goes away if you purchase a license of the DynaPDF Pro library and our plugin.)

FileMaker Drag & Drop from Photos app

Friday 15 May 2015 at 11:42 pm
Just a quick note: We changed the MBS FIleMaker Plugin's Drag & Drop features to accept promised file drops. This allows you to receive picture file drops from the new Photos app from Apple. Normally FileMaker will not accept them, but you can now create a drop area using the plugin and process them. Enjoy!

FileMaker 14 Runtimes

Thursday 14 May 2015 at 12:13 am
FileMaker 14Details about FileMaker 14 are coming out and there is one big problem for a lot of users here. Runtimes are now listed as deprecated.

"APIs, technologies, or features to be deprecated
As FileMaker Pro evolves, the list of APIs and technologies it supports may change. FileMaker recommends that you migrate your solution to use other APIs, technologies, or alternative features of the product, because the deprecated features may be deleted from this or a future version of the product.

  • FileMaker Pro runtime
  • Support for OS X 10.9 Mavericks
  • Support for 32-bit FileMaker Pro"
see help.filemaker.com/app/answers/detail/a_id/14502

It is very amazing that just after first release of a 64-bit version, they mark 32-bit as deprecated. Could easily be that FileMaker 15 ships 64-bit only!

Why do we care about runtimes?
  • Runtime can be used to make free demo copies of solutions for people to test and evaluate.
  • Solutions for single users which cost much less than a FileMaker Pro license.
  • Kiosk demos or self running demos of solution.
  • All the catalogs on DVD for giving away for free.
  • Small business solutions which normally start very small with a runtime and later go to Pro/Server when business grows.
If FileMaker Inc. really cancels the runtimes, a lot of FileMaker developers can no longer stay in business as they can't migrate everyone to FM Pro. Not to forget that FileMaker just raised a few prices on their price list.

There can be a hope that they offer something like FileMaker Go for Mac and Windows to fill the gap. So FileMaker Go for desktop with a database file and you have more or less the runtime back.

MBS Xojo / Real Studio Plugins, version 15.1pr8

Wednesday 13 May 2015 at 6:10 pm
New in this prerelease of the 15.1 plugins:
  • Added XLBookMBS.Load2 functions to detect format and load file.
  • Fixed problem with MDItemMBS constructor.
  • Updated ChartDirector to 6.0 release candidate (registration not yet possible).
  • Fixed CTParagraphStyle.FirstLineHeadIndent property.
Download: macsw.de/plugin. Or ask us to be added to our shared Dropbox folder.

MBS FileMaker Plugin, version 5.1pr8

Wednesday 13 May 2015 at 3:51 pm
New in this prerelease of the 5.1 plugins:
  • Added MenuItem.GetRequireCommand, MenuItem.GetRequireControl, MenuItem.GetRequireOption, MenuItem.GetRequireShift, MenuItem.SetRequireCommand, MenuItem.SetRequireControl, MenuItem.SetRequireOption and MenuItem.SetRequireShift.
  • Added Menu.DefineQuickMenu.
  • Added MenuItem.GetBold, MenuItem.GetFontName, MenuItem.GetFontSize, MenuItem.GetItalic, MenuItem.GetUnderline, MenuItem.SetBold, MenuItem.SetFontName, MenuItem.SetFontSize, MenuItem.SetItalic and MenuItem.SetUnderline.
  • Added Files.Mount and Files.Unmount functions.
Download at monkeybreadsoftware.de/filemaker/files/Prerelease/ or ask for being added to the dropbox shared folder.

ChartDirector 6 PDF example

Wednesday 13 May 2015 at 1:50 pm
While working on ChartDirector 6 Plugin, we got this sample code for you:
// The data for the bar chart dim data(-1) as double = array(85.0, 156, 179.5, 211, 123) // The labels for the bar chart dim labels(-1) as string = array("Mon", "Tue", "Wed", "Thu", "Fri") // Create a XYChart object of size 250 x 250 pixels dim c as new CDXYChartMBS(250, 250) // Set the plotarea at (30, 20) and of size 200 x 200 pixels call c.setPlotArea(30, 20, 200, 200) // Add a bar chart layer using the given data call c.addBarLayer(data) // Set the labels on the x axis. call c.xAxis.setLabels labels Backdrop = c.makeChartPicture // Create PDF and write to disk dim PDFData as string = c.makeChart(c.kPDF) if PDFData.lenb > 0 then dim PDFFile as FolderItem = SpecialFolder.Desktop.Child("simplebar with pdf.pdf") dim PDFStream as BinaryStream = BinaryStream.Create(PDFFile, true) if PDFStream <> nil then PDFStream.Write PDFData PDFStream.Close pdffile.Launch(true) end if end if
As you see the only change you may need in your application is to request the chart as PDF. The MakeChart function takes a new constant kPDF for the new output type PDF.
You can download and check the PDF here: simplebarwithpdf.pdf
(this PDF was generated on Mac with 64-bit Xojo alpha and ChartDirector 6 final candidate)

FileMaker 14

Tuesday 12 May 2015 at 3:54 pm
FileMaker 14Just today FileMaker 14 was released. The big change for me is 64-bit. Our plugin has been ready for 64-bit for a long time, as the Server used 64-bit before. Now it's 64-bit for everyone and you should make sure you have current plugins for best results.

If you use our SQL, Twain, LibXL, DynaPDF and other functions relaying on library files, be sure to have those in 64-bit, too. If you don't have TAPI driver in 64-bit, you should keep your solution running as 32-bit.

For the syntax coloring in FileMaker, the MBS Plugin can still overwrite FileMaker's colors and provide much more flexible rules for colors. Like red color if a called script is missing or checking calculation syntax to highlight wrong brackets.

With MBS FileMaker Plugin 5.0, everything should work already as we tested a lot with beta versions. With 5.1 we will probably fix a few minor things we'll encounter in the next days.
If you like to try, use our 5.1pr7 release: Prerelease Download

Enjoy the new version, test it and please email us if you see an issue.

More menu commands for FileMaker

Monday 11 May 2015 at 5:14 pm
For building a menu in FileMaker we got new plugin commands and options.

You can now use diamond and bullet as special setting for MenuItem.SetState function. This will provide on Mac the bullet and diamond images instead of a checkmark.

If you only want to show menu entries if modifier keys are pressed down like shift, command, option/alt or control, we got new functions for this:
MenuItem.SetRequireCommand, MenuItem.SetRequireControl, MenuItem.SetRequireOption and MenuItem.SetRequireShift.

You can also now set on Mac the font style with name, size and bold/italic/underline:
MenuItem.SetBold, MenuItem.SetFontName, MenuItem.SetFontSize, MenuItem.SetItalic and MenuItem.SetUnderline

Finally we got recently an MenuItem.ApplyColor function to set the color of the text:
MenuItem.ApplyColor

Still on the wish list is to get more features on Windows, but Microsoft doesn't make this easy. We'll see.

Tip of the day: Edit IPTC data in JPEG file with CGImageSource/CGImageDestination

Monday 11 May 2015 at 2:10 pm

A client asked for editing IPTC entries in an image and add copyright notice. The CoreGraphics Image Source/Destination classes allow to read/write EXIF, IPTC, GPS, PNG, TIFF, PNG and JFIF properties. We use it here to load the image, add entries for IPTC with keys credit, copyright notice and contact and write the file to disk:

dim InputFile as FolderItem = SpecialFolder.Desktop.Child("test.jpg") dim OutputFile as FolderItem = SpecialFolder.Desktop.Child("output.jpg") dim inputSource as CGImageSourceMBS = CGImageSourceMBS.CreateWithFile(InputFile) dim outputDest as CGImageDestinationMBS = CGImageDestinationMBS.CreateWithFile(OutputFile, "public.jpeg") dim ImageProperties as Dictionary = inputSource.PropertiesAtIndex(0) dim GlobalProperties as Dictionary = inputSource.Properties dim IPTC as Dictionary = ImageProperties.Lookup(CGImageSourceMBS.kCGImagePropertyIPTCDictionary, nil) if IPTC = nil then // create if missing IPTC = new Dictionary ImageProperties.Value(CGImageSourceMBS.kCGImagePropertyIPTCDictionary) = IPTC end if IPTC.Value(CGImageSourceMBS.kCGImagePropertyIPTCCredit) = "Credit Test" IPTC.Value(CGImageSourceMBS.kCGImagePropertyIPTCCopyrightNotice) = "Copyright Test" IPTC.Value(CGImageSourceMBS.kCGImagePropertyIPTCContact) = "Contact Test" outputDest.SetProperties(GlobalProperties) outputDest.AddImageFromSource(inputSource, 0, ImageProperties) call outputDest.Finalize
For cross platform EXIF/IPTC/XMP changes, you can in general try our XMP plugin.
Please note that in CGImageDestination/Source and XMP Plugin most keys are mapped. So setting Credit in IPTC, also sets the corresponding field in XMP.

FileMaker DevCon in 10 weeks

Sunday 10 May 2015 at 8:41 pm
The early bird offer ends in a two weeks, so be quick if you like to join the FileMaker Developer Conference in Las Vegas. Would be bad to decide too late and pay $500 more...

The Developer Conference is a great chance to meet over 1200 other FileMaker developers from all around the world. Not to forget that Las Vegas is a great place to visit!

Even if you are not so interested in casinos, you can take a car and drive outside the city to visit some desert like Red Rock Canyon. Or drive to Boulder and visit the Hoover Dam.

And did you know that if you sign up as a company with a group of 4 developers, the 4th ticket is free?

MBS will be present with a booth, so visit us there!


Tip of the day: MoviePlayer.rate

Saturday 09 May 2015 at 1:08 pm
Today a client asked how to set MoviePlayer's rate. This property was there years ago in Real Studio, but is missing in current Xojo version. The following code in a module extends MoviePlayer class with a new rate property. We even included some switches for older Real Studio versions, so you can use similar code for older and newer IDE versions:

Sub RateMBS(extends m as MoviePlayer, assigns r as Double) #if TargetMacOS then #if RBVersion >= 2014.0 then // newer AVFoundation dim p as AVPlayerMBS = m.AVPlayerMBS p.rate = r #else // old QuickTime m.Rate = r #endif #elseif TargetWin32 then #if RBVersion < 2014.0 then // older m.Rate = r Return #endif // Windows Media Player dim o as OLEObject = m.MovieController MsgBox o.TypeName o.Player.settings.rate = r #endif End Sub

Older blog entries:

2015-05-08 Full Time Xojo Developer Position in Canada
2015-05-07 FileMaker Developer Meeting in Saarbr├╝cken, Germany
2015-05-07 MBS FileMaker Calendar Functions work on Server
2015-05-07 MBS Xojo / Real Studio Plugins, version 15.1pr7
2015-05-06 MBS FileMaker Plugin, version 5.1pr7
2015-05-06 Xojo Meetings in Canada
2015-05-04 .fmp[x]Berlin 2015 starts next month
2015-05-02 Raspberry Pi support in Xojo
2015-05-02 Colors for Menus in FileMaker
2015-05-01 Xojo 64-bit notes
2015-04-30 FileMaker Conference in Montreal, Canada
2015-04-30 Tip of day: Save Xojo report to PDF
2015-04-30 Quickly copy lots of records
2015-04-29 Notes from the Xojo Keynote
2015-04-28 FileMaker meeting in Dallas
2015-04-27 FileMaker Developer meeting in Dallas
2015-04-26 MBS Releases the MBS Xojo AudioPlayer Kit in version 1.0
2015-04-23 MBS Xojo / Real Studio Plugins, version 15.1pr6
2015-04-23 MBS FileMaker Plugin, version 5.1pr6
2015-04-20 REALbasic and Real Studio still supported

Archives

May 2015
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