Google
www ResExcellence

Application Makeovers
Desktop Snapshots
iTunes Skins
Mighty Mouse Cursors
Uploads
Boot Images
Dock Poofs
Links List
Photoshop Goodies
Users Forum
Boot Panels
Download Stats
Log-In Panels
REALbasic
Clocks
GUI Software
Mac OS X Mods
Safari Stuff
Desktop Pictures
Icons
Mac OS X Themes
Splash Screens
Homepage
Download a free demo of REALbasic!
Download a free demo of REALbasic!
Recent Articles...
3D
3D Photo Gallery (Part 2)
3D Photo Gallery (Part 1)

Audio
iPod Tricks (Part 3)
iPod Tricks (Part 2)
iPod Tricks (Part 1)
Laugh Track Machine
Audio Player with Reverb
Shepard Melody
RB Phone Home
Build a Drum Machine

Custom Controls
Custom Buttons
Custom Buttons Part II
iTunes-style Listboxes
Custom Controls

General RB
Wiggle Window
JPEG in PDF
Hey! You got your Checkbox in my Listbox!
Background Applications
Listbox Auto-Find
Virtual Volumes
Time Tracker
Software Distribution (Part 4)
Software Distribution (Part 3)
Software Distribution (Part 2)
Software Distribution (Part 1)
Exceptions
Living on the Edge
Tips and Tricks
Review of REALbasic 3.0
Text Clippings Made Easy

Graphics
Image Spinner
Cropping Graphics (Part 4)
Cropping Graphics (Part 3)
Cropping Graphics (Part 2)
Cropping Graphics (Part 1)
Shimmer Graphics
Lissajous Figures
Simple Screen Capture
Vector Graphics
Kaleidoscope Images
Stegonography
Spirals!
Image Table
RB Magnifying Lens
Screen Capture
Color Picker Tutorial

Hacks
Ghost Grab
Speedy Mouse Extension
iTunes Plugins
iTunes Skinner

Internet
Display Web Image In Canvas
HTML IMG Tags
Version Tracking
Even Smarter Instant Messaging
Web Tiler
JavaScript and REALbasic
Stock Ticker (Part 2)
Stock Ticker (Part I)
AIM Mate

Mac OS X
Using Sheets in REALbasic
Build a Bundle (Part 2)
Build a Bundle (Part 1)
Dock Your Passwords
Mac OS X Debugging
REALbasic Mac OS X Icon Tutorial
Animate Your Dock
RB and the Command Line

Novelty
Guessing Game
Calendar Trivia
Tile Mixer
Zip Code Finder
Happy Valentine's Day
Merlin Simulator (Part 3)
Merlin Simulator (Part 2)
Merlin Simulator (Part 1)
Buzzword Machine
AppleSoft BASIC

Printing
Print to PDF

Registration
Registration Code Validation

Resources
Picture Extractor (Part 2)
Picture Extractor (Part 1)

Serial
Caller ID (Part 3)
Caller ID (Part 2)
Caller ID (Part 1)

Speech
Speech Recognition

Video
Big Brother Video Capture

Newest Dev Tools!

Book Alert !
REALbasic for Dummies
by Erick Tejkowski
$19.99 @ Amazon

Made with REALbasic!

Problems?
Downloads are in StuffIt 5 format (free download).
Tell me about a bad link (Thanks!).
Submission Policy

5-2-03

Background Applications by Erick Tejkowsi

It's easier than ever to create background applications in Mac OS X. However, to convert a REALbasic-made application to a background application, you'll need to have a trick or two up your sleeve. This week we'll show you how to make a REALbasic application hide in the background. We'll also build a small tool to automate the process, so you don't have to think about this again.

Backgrounding Background
A background application is handy for times when:

  • you don't want its icon to appear in the Dock
  • a daemon-like utility,
  • or just when you're trying to be tricky. :-)
For Cocoa applications and Carbon applications that use plist files, changing a standard application to a background one is simply a matter of adding the following code to that file:

Pretty simple, eh? When you build a Mac OS X application with REALbasic, however, there isn't one of these plist files to be found. All you have is an executable file. Look inside the resource fork with your favorite resource editor and you'll find the plist information in the 'plist' resource. Scroll to the end of that resource and locate this tidbit:

05-02-03.jpg (55k)

You could paste in the NSUIElement key listed above, but why bother. Not only do you have to poke around the resource fork and enter some text, you also have to edit the hex code of that character between the two lines in the previoes XML code to chr(13). That's too much of a pain for lazy programmers... especially when you want to debug a background application, where you might have to repeat this resource process dozens of times. To make life simple, let's create a tool to do the job for us.

Build the Project
This project is super simple to build. Launch REALbasic and use the default Window1 in the new project. To the window's Open event, add this one line of code:

me.acceptFileDrop "any"

Then, in the DropObject event of Window1, add this code:

That's it! Build the application and run it. Now, whenever you drag a REALbasic-made OS X application into the window, it will instantly transform into a background application. When you create a background application, don't forget to give yourself a way to quit it, since the menubar won't be available.

Conclusion
As usual, you can download the code for this week's project. See you next week!


4-30-03

REALbasic News by Erick Tejkowsi

StandardAlert and ResizeWidget
Charles Yeomans has posted new versions of StandardAlert and ResizeWidget. StandardAlert is a free, open-source class that allows you to display standard system alerts. StandardAlert 1.7 now works on all Rb-supported platforms, thanks to Paul Lefebvre, who supplied the Windows code. It now displays correctly in MacOS X when either the message or explanation property is left blank.

ResizeWidget is a cross-platform RB control that allows users to drag-resize controls in a window. ResizeWidget uses control binding, a REALbasic visual programming feature, to make using it as easy as possible for developers.

Virtual Volume Manager
Oxalyn Software has announced version 1.0.4 of Virtual Volume Manager. Targeted to the REALbasic developer, Virtual Volume Manager streamlines the process of creating, maintaining, and optimizing a Virtual Volume, providing a Finder-like interface for browsing and an optimize function to eliminate wasted space. Virtual Volume Manager is $15 for Mac OS X and Mac OS 8.6 and up.

Calendar Class
Norman Palardy has posted Calendar Class. Calendar Class is a canvas based sub class that implements a calendar. It lets you :

  • change the "start of week day" to any day of the week (day hilighting and coloring is retained even when changing the weeks start day)
  • hilight the selected day in any color
  • hilight any day in any color
  • retain the day hilights even when you change the start day of the calendar (it only discards these when you switch month and year)
  • has a "toString" method so you can easily get a text calendar from it
  • use any background picture you want (this is a canvas based subclass)

Image Info RB 1.0.4 Release
Kanzu Utilities has released Image Info RB 1.0.4, a REALBasic class for developers whose wish to retrieve information about images. Version 1.0.4 is an update for compatibility with REALbasic 5.0 Developers can use Image Info RB in their applications to retrieve almost any known property of an image including its dimensions, color mode, layers, channels, clipping paths, fonts, quality, eps halftone screen, and EXIF and IPTC info. More than 20 image file formats are supported, including EPS, TIFF, Photoshop and JPEG and JPEG2000.

OverlayWindow
A novel REALbasic Plugin for RB4.x-OSX and higher, OverlayWindow is the first release of the plugin and implements a single method that animates a "poof". You know "poof" when you remove an icon from the dock.


4-23-03

REALbasic News by Erick Tejkowsi

Frequency for Mac OS 9
Brad Rhine released a new utility for sending content updates to Blogger websites. Frequency reduces the time it takes to update users' Blogger websites by eliminating the need log into Blogger's web-based update system. This is the first version to support Mac OS 9.

SceneBench
SceneBench is a 3D scene editing and model viewing utility for Macintosh. It has extensive support for mouse-based, "live" direct manipulation -- you can drag and drop not only the elements of your scene, but also most aspects of the REALbasic 3D API, while you watch the effects in real time. The latest pre-release version is available for free.

PlugIn Serial Coder
Plugin Serial Coder is a tool to protect the REALbasic plugin licences that you've paid good money for by encoding them to make it harder [hopefully impossible] to crack* the plugin registration details out of your built applications. Currently Plugin Serial Coder will encode for Valentina & MBS Plugin. PlugIn Serial Coder has been released under the GNU GPL & available from:

ResizeWidget 1.3
ResizeWidget 1.3 is now available from Quantum Meruit. ResizeWidget is a cross-platform RB control that allows users to drag-resize controls in a window. ResizeWidget uses control binding, a REALbasic visual programming feature, to make using it as easy as possible for developers.

SelectableStaticText
Owen Yamauchi has posted an update to his SelectableStaticText. SelectableStaticText is a Canvas subclass that simulates a control unavailable to REALbasic on Mac OS X. It looks like a StaticText, but it has selection capabilities similar to those of an EditField. It allows text dragging, it can resize itself to the optimal height and width to contain the text, and it is cross-platform.

ResourceAccesor
Brady from The La Jolla Underground had just finished adding data fork based resource files and bundle resource editing to ResFool when he thought that he would share the code that he uses to access this data. It is a collection of Free REALbasic classes that implement a ResourceAcesor API. It's similar, but not identical to, the built-in resource fork class. It allows you to access resources in the resource fork, resources in a data fork resource file or resources stored as individual files in a bundle in the same way. You can even get access to your main bundle (if you are bundled) which provides access to the individual localized and non-localized files, as well as any resources stored in data fork resource files (must be named .rsrc). There is also a good amount for CoreFoundation code wrapped in classes that may be of interest (CFURL, CFBundle, CFString, etc). No plugins required - all the code is written in Native Rb using declares.

Bible Reader Free
Hiddenfield Software announced the first pre-release of their newest software, Bible Reader Free. Bible Reader Free is a free Bible viewing application for Mac OS X, giving access to multiple books/chapters at the same time. Features include the ability to search for words across all or select parts of the Bible, and apply 'swaps' automatically (where one word can be changed for another - like 'you' for 'thee'). Two translations are currently provided (King James and Basic Bible English), with more to come. Bible Reader Free is, as its name says, free software.


Application Makeovers
Desktop Snapshots
iTunes Skins
Mighty Mouse Cursors
Uploads
Boot Images
Dock Poofs
Links List
Photoshop Goodies
Users Forum
Boot Panels
Download Stats
Log-In Panels
REALbasic
Clocks
GUI Software
Mac OS X Mods
Safari Stuff
Desktop Pictures
Icons
Mac OS X Themes
Splash Screens
Homepage

Maintained by the Staff of ResExcellence. This entire site ©1997-2003 ResExcellence
Privacy Statement? Sure we gotta Privacy Statement.

[an error occurred while processing this directive]on the ResEx LinuxPPC Server