Tip of the day: Render SVG with GraphicsMagick Plugin

You can render SVG files like this using our GraphicsMagick plugin:
  Sub RenderSimple()
dim file as FolderItem = SpecialFolder.Desktop.Child("EUworld.svg")

dim g as new GMImageMBS(file)

Backdrop = g.CopyPicture
End Sub
And if you need to scale, you can use a GMGeometryMBS object with a scaling factor:
  Sub RenderScaled()
// render with 200%

// first open file and read data in blob
dim file as FolderItem = SpecialFolder.Desktop.Child("EUworld.svg")
dim stream as BinaryStream = BinaryStream.Open(file)
dim data as string = stream.Read(stream.Length)
dim blob as new GMBlobMBS(data)

// 200% in width and height
dim geo as new GMGeometryMBS("200%x200%")

// open image
dim g as new GMImageMBS(blob, geo)

// get Real Studio picture
Backdrop = g.CopyPicture
End Sub

Addressbook classes updated

With 11.2 we rewrote so far a couple of plugin parts. InstantMessageMBS, ABAddressbookMBS, IORegistryMBS and related classes got a few bigger changes. For example see this code snippets:

dim a as new ABAddressbookMBS

// old code

dim ga as ABGroupArrayMBS = a.groups

dim i as integer = ga.Count-1
for i as integer = 0 to c
  AddGroup ga.Item(i)

// new code

dim ga() as ABGroupMBS = a.groups
for each g as ABGroupMBS in ga
  AddGroup g

Old code used ABGroupArrayMBS class for an array. You needed to call count and item() functions. Now we changed that to use Real Studio arrays. So you can use For Each...Next loops and all the array functions in Real Studio like pop and ubound.

REAL Studio UK User Group Event Agenda

Thursday 28th July 2011
REAL Studio UK User Group Event
Orange Rooms, Voluntary Action Leicestershire
Leicester, England LE1 5SN

The REAL Studio UK User Group is pleased to confirm a REAL Studio developer event at the Orange Rooms, Voluntary Action Leicestershire, Leicester on Thursday 28th July 2011.
  • Christian Schmitz of Monkeybread will be presenting and answering questions on the Monkeybread plugins
  • Geoff Perlman of REAL Software will demonstrate latest REAL Studio features, discuss latest news and the direction of REAL Studio and answer questions, all via video chat
  • Steve Cholerton of Arten Science will present how to code using reusable controls and external modules
  • Eric Gibbon of MacTasks will present REAL Studio developer resources and cross-platform development considerations
  • There will also be an open Q&A session for general discussion and issue resolution
There will be plenty of time for developers to network during the day and there will be space in the room for developers to show product & marketing materials. A free broadband wi-fi service is available on the day.

The event is FREE to attend, but there will be a charge of £12.50 per person for a buffet lunch and refreshments throughout the day.

There are still a few places available. If you are interested, please contact Eric Gibbon, eric@mactasks.com to confirm your place.

08.45am - 09.30am ARRIVAL & COFFEE
09.30am Welcome (Eric Gibbon, MacTasks)
09.30am - 10.00am REAL Studio Developer Resources (Eric Gibbon, MacTasks)
10.00am - 10.45am Reusable Controls & External Modules (Steve Cholerton, Arten Science)
10.45am - 11.00am COFFEE BREAK
11.00am - 12.30pm Monkeybread Plugins & Q&A (Christian Schmitz, Monkeybread)
12.30pm - 13.30pm LUNCH BREAK
13.30pm - 14.00pm Cross-platform Considerations (Eric Gibbon, MacTasks)
14.00pm - 15.00pm Open Q&A
15.00pm - 15.15pm COFFEE BREAK
15.15pm - 16.30pm Geoff Perlman Video Chat & Q&A
16.30pm Event Ends / Next meeting Discussion

See you there!

MBS Real Studio Plugins, version 11.2pr6

New in this prerelease of the 11.2 plugins:

Please note that until Mac OS X 10.7 ships, we can't release plugins using new functionality. But we can inform you about progress.

  • Updated DynaPDF to version
  • Removed IMServiceArrayMBS, IMStringArrayMBS, IMServiceInfoMBS and IMServiceInfoArrayMBS classes.
  • Rewrote parts of Addressbook and InstantMessage plugin. You need to update your code.
  • Updated CoreWLAN plugin part for Mac OS X 10.7.
  • Updated CoreLocation plugin part for Mac OS X 10.7.
  • Prepared StoreKit Plugin for Mac OS X 10.7.
  • Updated Addressbook related plugin parts for Mac OS X 10.7 with new classes and methods.
  • Added WinUSBDeviceMBS class.
  • Added acceptsFirstMouse and viewDidMoveToWindow events for CustomNSViewMBS class.
  • Added NSViewMBS.enclosingMenuItem function.
Download: macsw.de/plugin/Prerelease

Carbon and PPC Support

You read the blog post The Future of PowerPC and Carbon Support?

Here at Monkeybread Software, we always support old stuff a few longer than Real software. That has been true for 68k, Carbon and Classic PEF support. With Lion, Apple may drop a few more things like Mac OS X 10.4 support. At some point they will drop compiling for PPC on current OS versions. I'm not even sure if Xcode for Lion will contain PPC support. We'll have to see.

So we commit to provide Carbon and PPC support for some time, but it could be removed someday due we replace our development machines or need to upgrade operation system. But I don't expect this to happen this year. Not sure about next year.

Real Studio 2011 Release 2

You probably read about the new release on some other websites.

I'd like to comment that our plugins work just fine with the new release as far as I see. A lot of new things have been added and quite a few bugs are fixed. From the new stuff, I love this new WebMoviePlayer control. To test you can simply take the tutorial videos from our website. Copy the download links from the video page to the property panel for desktop, wifi and mobile URLs. Run the project and the video plays. With Safari 5 you are using HTML5 video right away.

Cocoa is getting better and better with every release. I suggest trying it for projects. Simply do the switch in your project and try it. If you see something you need to change, you can embed it in #if targetcocoa #endif lines. That way you can switch back to Carbon at any time. Especially with Mac OS X 10.7, the difference between Cocoa and Carbon will be more visible to your users. So you should test Cocoa very soon.

For the other new things, we got device location. Nice thing to make your web app location aware on an iPhone or iPad. For desktops (e.g. a Macbook), don't expect much accuracy. Position is detected there only by Wifi and can be easily wrong by a mile. By the way, the accuracy property is missing there, so I filled a feature request: case 17300.

Be sure to check the video highlighting some of the new features in REAL Studio 2011r2: Sneak Peek Video

MBS Filemaker Plugin, version 2.4pr7

New in this prerelease of the 2.4 plugins:
  • Added DragDrop.SetImage function.
  • Added ProgressDialog.ClearImage function.
  • Now includes Intel only version of plugin. You need that for a Runtime in the Apple Mac App Store.
  • Added USB functions to find and list connected USB devices.
  • DropArea now positioned correctly if used with a control.
  • Graphicsmagick image references are now validated before being used. This avoids some trouble.
  • Graphicsmagick functions WriteTo*Container now check if compression works.
Download: monkeybreadsoftware.de/filemaker/files/Prerelease/

About the auto complete feature in Real Studio

Auto complete is one of the handy features in the Real Studio code editor. Having some context aware help for the syntax is a good thing in every IDE.

In Real Studio you first have this useful feature that Real Studio offers you possible words if you press tab while typing. Like the picture on the right where you see all the classes starting with c.

Same goes on if you type code and Real Studio can show you what methods you can call in that point of code. In this examples you see only methods or properties. The IDE knows that you are not right of an assignment or expression so you can't call functions here. If you want to call a function here, use the call keyword.

And finally on the third picture you can see context help. Real Studio shows you the parameters for this method.

Still autocomplete can be improved. For example if a method if overloaded, you see only one of them and have no way to see other variants. And it's possible (but rare in newer versions) that the IDE fails to offer you completion. Most times because your code before has a compile error.

MBS Real Studio Plugins, version 11.2pr5

New in this prerelease of the 11.2 plugins:
  • Added NSApplicationDelegateMBS class. This allows to fill the dock menu in Cocoa applications, see example.
  • Added a lot of new NSApplicationMBS methods and constants.
  • Added DisableAllMenuItems, EnableAllMenuItems, MenuHasEnabledItems and SubmenuParentChoosable to MenuMBS class.
  • Added NSMenuMBS CarbonMenuRef.
  • Fixed events for CustomNSVIewMBS class.
  • Fixed QTGraphicsExporterMBS.InputPicture to work on Cocoa targets.
  • Added WindowsDropTargetMBS AttachToControl.
  • Fixed alignment bug with DynaPDFRasterImageMBS class.
Download: macsw.de/plugin/Prerelease

Dock Menu for Cocoa in Real Studio

See the picture?

Today I spend a lot of time working on a NSApplicationDelegateMBS class. This class gives you more than 20 application related events including a dockmenu event. There you can build your menu to be displayed in the dock. The event fires everytime the menu is about to be shown, so you can add menu items there dynamically.

As you see we can have all the typical menu features like separators, checkmarks or submenus.

This will be available with 11.2pr5 plugins later tonight (or tomorrow). For Carbon applications, you can use our existing CarbonApplicationEventsMBS class.

Filemaker Conference 2011

Last days I stayed in Hamburg, Germany for the Filemaker Conference. It was a great experience to meet all those developers from all around in Germany, Swiss and Austria. And Filemaker, Inc. sent two representatives: Heather Winkle (from USA) and Keith Harris (from UK). With more than 160 attendees, the conference was quite big for me. (I never attended WWDC...)

So on Wednesday evening, I arrived in Hamburg in the beautiful Intercontinental Hotel. I got my welcome bag and met other developers in the lobby. Later that night we walked with a nice group for a late dinner in the central district. It's impressive how many parks Hamburg has in that part of the city. From the hotel to the next train station you walk either through a nice park or along the Alster beach.

Saturday the keynote started and we got updated by Filemaker staff about what's new and coming. The days went quickly with more than 30 sessions and a lot of time to chat in the lobby. From about 8 o'clock in the morning to midnight there have always been a few people in the lobby chatting about Filemaker related topics. Especially as the WLAN was free down in the lobby ;-)

Thanks to the team organizing the conference, the referents for doing those great presentations, Filemaker for supporting this conference, the other sponsors for contributing and all the people for attending. See you next year on the conference.

Atlanta Real Studio Users Group - June 20, 2011

Hello REAL Studio enthusiasts!

We'll be holding our monthly meeting on Monday, June 20th, 2011 from 6pm to 9pm!

Who: Everyone interested in developing in REAL Studio
What: Monthly Meeting
Where: Aldo's Italian Restaurant
When: June 20th, 2011 - 6pm to 9pm
Why: We'll be presenting an review of the "Real Studio Feedback System". Real Software uses Feedback to understand what bugs and feature requests are most important to their users. All users can search the database and check the status of any report.
Bonus: We'll have a couple of door prizes for attendees!

I hope to see you there!


More on the website: atlrealstudio.org

MBS Filemaker Plugin, version 2.4pr6

New in this prerelease of the 2.4 plugins:
  • Rewrote Drag and Drop so we can now define a drop view where user can drop files.
  • Window functions now only work for Mac with Cocoa. So we now require Filemaker 8.5 or newer on Mac for all functions touching windows.
Download: monkeybreadsoftware.de/filemaker/files/Prerelease/

Filemaker Conference

This week we have the Filemaker Conference in Hamburg. I'm there as a sponsor and I have two workshops:

Thursday 16th June at 14h and Friday 17th June at 09h.

If you come to the conference, please visit me there. On those workshops I'll give a 2 hour overview over the plugin. But also I'm there all the time so if you have some question or want me to show you something special, please contact me.

More details on the conference website: www.filemaker-konferenz.de/2011/

Meeting of Real Studio Bay Area User Group

Meeting is today at 1:30, Geoff via Skype at 2:00 PT

If you get a last-minute urge, come on up! We've got plenty of room. Should be a nice day; we can hang out on the balcony over the park...

1160 Battery Street East
San Francisco

Lars' cell 781-258-7463

Some tips for those unfamiliar with this corner of San Francisco:

Mindjet -- Lars' employer -- is at 1160 Battery Street East. Our building is the smaller one, between Embarcadero and Battery at Union.

Street parking is free and plentiful on Sunday. Or ride the F-line trolley from pretty much anywhere along Market or Embarcadero and get off at Levi's Plaza. Or ride BART to Montgomery or Embarcadero, and start walking north.

Once you get here, from street level, go down the steps and under the connecting catwalk. Look for the familiar green cube at the east door.

Unfortunately I can't leave the door open. So I'll come down to let people in at 1:30, hopefully in a group. In a pinch, call my cell 781-258-7463. If you're early, there are plenty of nice spots to sit & hang out. Or walk off your lunch by climbing the steps to Coit Tower. :)

More details on the google group: groups.google.com/group/rsbaug

Our Real Studio PHP Plugin

Our PHP Plugin is a little bit dated. I know, but PHP has not a stable API which makes it impossible to have one plugin for all versions.

So to get the PHP plugin to run, you nee the right library. So download PHP library for Mac and Linux from our website: macsw.de/plugin/PHP/. Download the windows installer here: museum.php.net/php5/php-5.2.3-win32-installer.msi.

If you compile our example projects, please change the file path. "C:\Programme\PHP\php5ts.dll" won't work for an english system.

MBS Filemaker Plugin, version 2.4pr5

New in this prerelease of the 2.4 plugins:
  • Added new ProgressDialog functions.
  • Added PDFKit.SetIgnoreCombineErrors and PDFKit.GetIgnoreCombineErrors.
  • Added String.RemoveNewLine function.
  • Added a WriteTextFile function.
  • Started a TextToRTF function.
Download: monkeybreadsoftware.de/filemaker/files/Prerelease/

MBS Real Studio Plugins, version 11.2pr4

New in this prerelease of the 11.2 plugins:
  • Added more properties to WindowsProcessStatisticsMBS class in order to get CPU usage statistics on Windows.
  • Only first plugin part does cocoa initialization now, not every plugin part.
  • Added window.SetContentBorderThicknessMBS.
  • Fixed a bug in CURLS plugin where the internal curl library was not starting up properly on Windows.
  • Added more methods to WinDataObjectMBS class in order to receive on demand drops. Added new class WindowsFileDescriptorMBS for this, too.
  • Added WebUIDelegateMBS MouseDidMoveOverElement event.
  • NSDictionary conversion functions now can handle NSColor <-> NSColorMBS.
  • Fixed MouseMove for Cocoa for OverlayMBS class. MouseDragged still not working.
Download: macsw.de/plugin/Prerelease

Real Studio Event in UK

Are you interested to visit a one day Real Studio event in UK?

In that case please contact Eric Gibbon. They are arranging a one-day REAL Studio meeting in the Orange Rooms, Leicester, UK for interested developers. Leicester is a central city with excellent M1 and rail connections. (more)

Mac OS X 10.7 Lion

Apple showed Mac OS X 10.7 Lion yesterday on the WWDC keynote.

The developer NDA with Apple forbids me to release plugins to anyone with Lion features before the shipping date.

So if you want something to be available in our plugins by the Lion release, you could email me and I check whether I can help you.

MBS Real Studio Plugins, version 11.2pr3

New in this prerelease of the 11.2 plugins:
  • Updated DynaPDF to version
  • Fixed bugs in OverlayMBS position and size on Cocoa.
  • Added NSWindowMBS method for child windows.
  • Renamed GetCGWindowIDMBS to CGWindowMBS.GetWindowID.
  • Renamed CGWindowListCreateCGImageMBS to CGWindowMBS.CreateWindowListCGImage.
  • Renamed CGWindowListCreateImageMBS to CGWindowMBS.CreateWindowListImage.
  • Added CGWindowMBS module.
  • Fixed a bug in XMPFilesMBS.GetXMP.
  • Fixed a color conversion problem from CGImage to Picture.
  • Improved ExchangeFilesMBS to work on network drives for Mac.
  • Added WinUSBNotificationMBS class.
  • Added MacUSBNotificationMBS class.
  • Fixed bug on Windows with OverlayMBS window activating even it was told to not activate.
  • Added SQLValueMBS.setAsDate and SQLValueReadMBS.asDate.
  • Added SQLPreparedStatementMBS class so you can use prepared statements with our SQL Plugin, too.
  • GhostScriptMBS class now can run multithreaded.
  • Changed GZipFileMBS Read and Write method to report lasterror = 0 if no data is read/written.
  • Fixed NSSearchFieldMBS constructors.
  • All GIF*MBS classes should now be fully console safe. Missed some properties.
  • Workaround for feedback case #15019 in place. So PNG (and other image) functions work in console targets.
  • We improved the Text Extraction example project for DynaPDF. If you use this code in your app, maybe you update to the improved code?
  • Added NSWindowMBS.setFrame method with animated parameter.
  • Added window.SmoothResizeCenteredMBS.
  • Fixed a bug with FontDeactivateMBS.
  • The XLSDocumentMBS class now accepts excel files which have not the OLE container around the actual data. Also we accept 0 for the version field as well as having no workbook, but only a single worksheet.
  • Removed Thread Plugin. Moved MutexMBS class to Util plugin.
Download: macsw.de/plugin/Prerelease


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