Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 18 in printed book and digital formats -- plus a one-year subscription (beginning with 19.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 5.6


Dynamic RB, Part 1

Using RBScript for interactive action

Issue: 5.6 (September/October 2007)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 24,926
Starting Page Number: 34
Article Number: 5612
Resource File(s):

Download Icon 5612.zip Updated: 2007-09-14 19:41:15

Related Link(s): None

Excerpt of article text...

In last issue's Beginner's Corner I introduced RBScripting. Today we're going to continue with that lesson with a more advanced use of RBScripting by exploring one of my favorite uses: adding a plugin system to your application.

What is a plugin system?

If you're not familiar with plugins, they are simple additions that add functionality to existing programs without the program having to be recompiled. The most famous example is Adobe Photoshop: you can buy third party plugins that give you new image filters or unusual effects. Even REALbasic itself supports a plugin system: if you install the Monkeybread Plugin, for instance, it adds over 14,000 new commands to REAlbasic.

Traditional plugins are a special type of compiled code written according to a specification by the parent program maker. When the user asks for your plugin to do something, the parent program passes control to your plugin code which is then executed. Unfortunately, at this time REALbasic does not have a way to make these kinds of plugins (though it is a popular request).

...End of Excerpt. Please purchase the magazine to read the full article.