REALbasic Classes and Modules

CLUTtable

This is a new class called clutTable that can read the data in a 'clut' resource of the id (and optionaly a folderitem) passed and turns it into an array of colors that can be used in RB. It can also write an array of RB colors to a 'clut' resource.

Download

StrTable

This adds a new Class to read and write data in Str# Resources. It returns an array of strings from the resourceFork and id passed and can also write a string array to the passed resourece and ID.

Download

HierPop 1.9

This is a set of 2 classes that allows you to have hierarchical contextual menus with other cool stuff like icons, multiple fonts, visible/invisible items, enabled/disabled items, checkmarks with any character as the mark, variable font size, different text colors, and a usable help item. Version 1.9 fixes problems with string encodings when using RB 5.0. Version 1.9 works only with RB 5.0 and later.

Download [Mac: Disk Image] Download [Win: .tar.gz]

Palm PRC Loader

This is 2 classes that allow you to load Palm OS PRC files. These files are a lot like macintosh resource forks, but they are stored in the data fork of files. You use these classes in a very similar manner to the ResourceFork class.

Download

File Flag Plugin

This plugin adds several global methods for setting file and folder info bits (like Alias, HasCustomIcon, HasCustomBadge, etc) and for setting the position of a file's icon in Finder windows.

Download [ PPC | Carbon ]