In this tutorial we will learn how to integrate Growl notification system with our REALbasic applications. As always this will be a very easy and fun tutorial so watch it, learn it, enjoy it! Now there is also a option to use RBCGrowl Class.
Notifications are a way for your applications to provide you with new information, without you having to switch from the application you’re already in. Growl is a very popular and powerful Mac OS system notification used by many kind of software (Firefox, Skype, Adium, Coda, Espresso, Transmission).

AppleScript is the easiest way to integrate Growl notification system with REALbasic. Simply run AppleScript Editor and enter there code available below. You can do this by tipping in Spotlight “AppleScript Editor” or go to Utilities folder in Applications and run AppleScript Editor. After copping the code to AppleScript Editor remove all comments from the code and click on Compile button. Now save the file on your Desktop and name it growl.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | on run {growlDescription, growlTitle} //parameters for data transfer tell application "GrowlHelperApp" set the allNotificationsList to ¬ {"Notification"} set the enabledNotificationsList to ¬ {"Notification"} register as application ¬ "Our application name" all notifications allNotificationsList ¬ //name registered in Growl Application settings default notifications enabledNotificationsList ¬ icon of application "Safari" //name of software in Application folder notify with name ¬ "Notification" title ¬ growlTitle description ¬ growlDescription application name "Our application name" end tell end run |
This part of tutorial is also very easy. Drag and drop the growl.scpt file to your REALbasic Project Tab and next go to Code Editor. We will now use the script to inform user with Growl notification system that our REALbasic application is starting. In Event Handlers Sub Open () enter:
1 | growl( "This software launched", "REALbasic City" ) // (description, title) |
If you see this message you probably want access special material for Premium Members (Source Files, Bonus Tutorials, free Classes and More). You can do this by subscribing REALbasic City site for 10 USD (access for 3 months). There is also a option to buy access only to this material. Login or register to get option to buy and support REALbasic City.
Log in
Really like your blog, don’t stop!
Thank you alex, I will try
Excellent job. You can be proud of yourself!
What if there are two monitors? Is there a way to make Growl to show up on the second monitor?
You can display the Growl notification on other screen, but you must go to Growl System Preferences Panel -> Display Option and change Screen option from 0 to other value.
Hello, how are you doing? I really like ur blog! I wonder if u might assist me (I am sure other subscribers may also be interested). I would also like to get involved in creating a blog also and I currently use a blog with Wordpress, but it is quite difficult for me to build and I would like to try to find several good training guides or courses (preferably ones that are free) that can hopefully assist me in using word press correctly. As a Word Press site owner yourself, do u perhaps maybe know where i could learn online tutorials to do this? Thanks!
Hello Pansy Connin, thank you I’m fine
I will create in near feature a Blog CIty where everyone will be able to find tutorials for Word Press and other blog systems