Mac OS X Utilities plugin for REALbasic

Mac OS X Utilities plugin for REALbasic

From: Chad J McQuinn (cjm@purdue.edu)

I have made several structural changes to my OS X Utilities plugin. It has
now been divided into three separate plugins, each of whose functions use a
prefix to avoid naming conflicts. The plugins do not depend on each other.

MMisc plugin: Includes functions for manipulating the quit and preferences
menu items in the application menu, as well as for installing and managing
a standard "Window" menu. Also includes a function "IsOSXRunning", which
should be checked before using most functions in any of these plugins.

MFile plugin: Utilities for working with icons, unix paths, and 'kind strings'.

MDock plguin: Utilities for manipulating dock icons. Includes providing
animations as well as overlaying or changing your application's icon.

Sorry for the name changes, but it's the best way for me not to have to
worry about conflicts with other plugins. All three are free for all use.
Do not abuse the functions that they provide.

All plugins are carbon-only. Most are OSX-only, with some exceptions as
noted in the documentation. The plugins have been weak-linked against
CarbonFramework.lib, which means you can still build an app with them to
run under OS 8 or 9 (with Carbon), but of course you can't use OS X
functionality.

Documentation is included in the download which is on my idisk:

http://homepage.mac.com/huskerchad

Here is a summary of the major changes:

* Due to lack of namespaces, added prefixes to all functions.

* Installing a window menu now returns an integer that is actually a
Toolbox 'MenuRef'. You can use this for further manipulation of the menu
with other plugins or Declare statements, or just ignore it.

* Enhanced functions for manipulating the application's icon in the dock.

* Sample projects have been enhanced.

Enjoy.

-Chad

 
AAPL
$282.52
Apple Inc.
-1.23
MSFT
$24.38
Microsoft Corpora
-0.11
GOOG
$525.62
Google Inc.
-0.17
MacTech Search:
Community Search:

Introducing the App Hall of Fame!
App discoverability continues to be a real issue. With the fast churn of apps in the App Store, an app has only a few weeks of promotional life in it before it‚Äôs largely forgotten. There are a few things developers can do to fix that, but those... | Read more »
Gobliiins Are Coming
In the midst of the huge Q4 launch schedule, the cult classic, Gobliiins, as well as the rest of the trilogy, are being ported to the iPhone in all of their original glory. The Goblins trilogy was a quirky Atari/Amiga game series from the early 90‚Äôs... | Read more »
myPhoneDesktop – Chrome to iPhone Extens...
Anyone who has used myPhoneDesktop knows that it is a fantastic tool for streamlining your onscreen workflow. Instead of having to type line after line into your phone directly, you can use myPhoneDesktop to type from your computer directly into... | Read more »
Classes Review
Developer: Dustlab Price: $0.99 Version Reviewed: 2.4.7 iPhone Integration Rating: 3 out of 5 stars User Interface Rating: 4 out of 5 stars Re-use / Replay Value Rating: 3 out of 5 stars Overall Rating: 3.33 out of 5 stars | Read more »
AutoVerbal Talking Soundboard Pro helps...
Being able to speak and communicate with others is something that many of us take for granted. It‚Äôs not so easy for many folks though, in particular for individuals with autism spectrum disorders, as well as those who have suffered various brain... | Read more »
Pocketbooth Review
Developer: Project Box Price: $0.99 Version Reviewed: 1.0 iPhone Integration Rating: 4 out of 5 stars User Interface Rating: 4 out of 5 stars Re-use / Replay Value Rating: 4.5 out of 5 stars Overall Rating: 4.17 out of 5 stars | Read more »
Get Your Roast Right With ‘Time To Roast...
Roasting meat, in the cooking world, is about as simple as it gets. The greatest roast recipe I‚Äôve ever found is from Michael Ruhlman‚Äôs website, with the recipe titled, ‚ÄúThe World‚Äôs Most Difficult Roasted Chicken Recipe.‚Äù | Read more »

All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.
Greetings, and welcome to the new MacTech web site! Our home page is designed to be your Industry Dashboard -- so you can have a snapshot of all that's relevant in the industry in one easy location. Many readers tell us that because the information is updated so frequently, they are now checking the site multiple times a day. Here's a quick run down of the features on the new web site, which can be subtle. We truly hope you register so that we can keep you up to date about new features as they are implemented. And, please use the BETA button in the top right to provide us any feedback, suggestions or bugs. We love to hear from you.