TweetFollow Us on Twitter

Bozo Manager
Volume Number:8
Issue Number:6
Column Tag:On the Lighter Side

Bozo Manager

By Gar, DataPak Software

Due to the increasing pressure to simplify the Mac Operating System, an unnamed source has given us an advance look at the next major System revisions:

The Bozo Manager

The purpose of the Bozo Manager is to simplify an otherwise complicated set of Toolbox functions and impossible documentation.

In interest of simplicity, the Bozo Manager will exist as Inside Macintosh Vol. 8 and will be precisely five pages (three of which are the copyright page, Table of Contents and Index).

Some of the key functions in the Bozo Manager are as follows:

Procedure JustMakeWindow

This procedure just makes a new window, making it the current GrafPort and the front window. It takes no parameters since it knows you simply want a garden-variety window with a pair of scrollbars and a “grow” box, etc., and of course it is visible and of course it has a go-away box.

JustMakeWindow will always make your window look nice. Note that this procedure does not return a WindowPtr because that would require its structure to be published, hence more complexity and more headaches.

JustMakeWindow is ideal for the beginning Mac programmer because all events are handled for you: when the new window receives an Update event, for instance, your code will be scanned for any "Toolbox routines that draw anything, hence you don't even need to use the Event Manager.

Procedure MeeToo (cloneverb: INTEGER)

The MeeToo procedure lets you create and sell software without writing one single line of code!

This procedure scans the hard drive for an existing application and, once found, launches that program but substitutes your “About” box.

The cloneverb parameter defines which application to launch, which can be one of the following:

MicrosoftClone = 1
AldusClone = 2
ClarisClone = 3

Note that these three verbs should be sufficient for 99% of all “new” software under development.

MeeToo is already being used by many developers but is finally being made available to everyone in the new Bozo Manager. It is an invaluable tool because you can market a fat product for which you entire cost is paying someone to use ResEdit for ten minutes.

We recommend, however, that you pad the file with some dummy “object code,” say 750K or more, as most developers have successfully accomplished.

Procedure UndoSystem (revert: INTEGER)

This procedure un-upgrades the current System software version. The revert parameter indicates which System you wish to revert to.

For example, let's say your application tried to include System 7 features but all of your users bought Mac Classics. Using the Bozo Manager, you could add “Undo System” to your Edit menu, passing it “6.07,” or “4.0,” etc., then at launch time the user can move the System version backwards if necessary.

Another use for UndoSystem is when things aren’t going your way: if all else fails when trying to use Script Manager, Apple Events, Editions Manager, etc. - or when you’ve just plain had it with suspicious bugs or doggy software, UndoSystem can be called directly from your application.

Procedure InitBugFixes

This procedure loads a special package that will cause the processor to do as you intend, not as you say. It’s built-in artificial intelligence will avoid taking your code so literally and will try to do the obvious instructions, just as you intended in the first place.

For example, let’s say your program accidentally states “for u = 1,” but what you really meant was “for i = 1.” If InitBugFixes was called at launch time, the processor knows that everyone uses “i” for loops, not “u,” so it will correct your error.

If for no other reason, the processor will realize that the letter “u” is right next to “i” on the keyboard so it can detect your error fairly easily.

InitBugFixes causes the processor to examine all of your code, determine what you really want to do, and will skip over the obvious mistakes. As a fail-safe measure, if a large piece of buggy code is too hard to figure out, the MeeToo function (above) might be called automatically to launch a similar piece of software, transparent to the user. In this case, the closest clone can be determined by examining your window contents, menu items, etc.

Lastly, when InitBugFixes is first called, a mirror-image of all memory is saved to the hard disk and can be loaded later to restore everything, salvaging an otherwise impossible parade of bugs. This way, the user won’t ever crash no matter how bad it gets.

However, if InitBugFixes is forced to load the memory image as a last-ditch effort, “undo System” is automatically appended to your Edit menu so the user can at least go back to how it was before the upgrade. See UndoSystem, above.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

How to get all the crabs in Mr Crab 2
Mr. Crab 2 may look like a cutesy platformer for kids, but if you're the kind of person who likes to complete a game 100%, you'll soon realise that it's a tougher than a crustacean's shell. [Read more] | Read more »
How to be a star in Britney Spears: Amer...
If you've ever wanted to be a star, baby, then you've probably already checked out Britney Spears: American Dream and are happily making your way up the charts. But fame doesn't come easy, and everyone needs a helping hand sometimes. So we've got... | Read more »
AppSpy is hiring a part time Staff Write...
| Read more »
How to save lives in ER Surgery Simulato...
A serious earthquake has struck a nearby town in ER Surgery Simulator - Emergency Doctor, and it’s up to you to save the victims. [Read more] | Read more »
Tips and tricks to get a high score in G...
Ketchapp Games loves the endless runner genre. And its newest game, Gravity Switch, is no exception. Gravity Switch takes a fresh approach, though, as you move a block, suspended in zero gravity, safely through a maze of shifting pillars. If the... | Read more »
Tips and tricks to get a high score in S...
Smash Fu is a high-paced tile-tapping game that requires quick reflexes and some practice. You’ll have to smash bricks with the skill of a seasoned black belt to get a high score. To raise the stakes a bit, you’ll also have to avoid tapping any... | Read more »
How to keep the ball rolling in Dropple
If you're new to the minimalist puzzler Dropple, you may find yourself struggling to make it beyond the first couple of steps before your ball falls into the endless abyss below. [Read more] | Read more »
Game Craft releases new Legend of War ti...
Set for release at the end of this month, real time strategy title Legend of War seems sure to delight with a veritable feast of sweet features to get stuck into. Developed by Game Craft, the game is due for release through both the App Store and... | Read more »
How not to die in Traffic Rider
Traffic Rider, an Out Run-esque game in which your ride a motorcycle recklessly into trffic, might not seem particularly complicated. [Read more] | Read more »
How to adjust your chess game for Regici...
At first glance you might likenWarhammer 40,000: Regicide to Chess - and you'd be right. Regicideputs its own spin on the classic board game though, so some of your tried and true methods may not work quite so well here. [Read more] | Read more »

Price Scanner via MacPrices.net

Textkraft Professional Becomes A Mobile Produ...
The new update 4.1 of Textkraft Professional for the iPad comes with many new and updated features that will be particularly of interest to self-publishers of e-books. Highlights include import and... Read more
SnipNotes 2.0 – Intelligent note-taking for i...
Indie software developer Felix Lisczyk has announced the release and immediate availability of SnipNotes 2.0, the next major version of his productivity app for iOS devices and Apple Watch.... Read more
Pitch Clock – The Entrepreneur’s Wingman Laun...
Grand Rapids, Michigan based Skunk Tank has announced the release and immediate availability of Pitch Clock – The Entrepreneur’s Wingman 1.1, the company’s new business app available exclusively on... Read more
13-inch 2.9GHz Retina MacBook Pro on sale for...
B&H Photo has the 13″ 2.9GHz Retina MacBook Pro (model #MF841LL/A) on sale for $1599 including free shipping plus NY tax only. Their price is $200 off MSRP. Amazon also has the 13″ 3.9GHz Retina... Read more
Apple price trackers, updated continuously
Scan our Apple Price Trackers for the latest information on sales, bundles, and availability on systems from Apple’s authorized internet/catalog resellers. We update the trackers continuously: - 15″... Read more
Clearance 12-inch Retina MacBooks available s...
B&H Photo has dropped prices on leftover 2015 12″ Retina MacBooks with models now available starting at $999. Shipping is free, and B&H charges NY tax only: - 12″ 1.1GHz Gray Retina MacBook... Read more
Check Apple prices on any device with the iTr...
MacPrices is proud to offer readers a free iOS app (iPhones, iPads, & iPod touch) and Android app (Google Play and Amazon App Store) called iTracx, which allows you to glance at today’s lowest... Read more
New 2016 13-inch 256GB MacBook Air on sale fo...
B&H Photo has the new 13″ 1.6GHz/256GB MacBook Air (model MMGG2LL/A) on sale for $1149 including free shipping plus NY sales tax only. Their price is $50 off MSRP. Amazon has the 13″ 1.6GHz/256GB... Read more
Apple refurbished iPad Air 2s available start...
Apple has Certified Refurbished iPad Air 2 available starting at $339. Apple’s one-year warranty is included with each model, and shipping is free: - 128GB Wi-Fi iPad Air 2: $499 - 64GB Wi-Fi iPad... Read more
Accenture and Vatican Opera Romana Pellegrina...
Accenture has announced that the official mobile application for the Extraordinary Jubilee Year of Mercy declared by Pope Francis has been built and launched by Accenture Mobility, part of Accenture... Read more

Jobs Board

*Apple* Nissan Service Technicians - Apple A...
Apple Automotive is one of the fastest growing dealer...and it shows. Consider making the switch to the Apple Automotive Group today! At Apple Automotive , Read more
ISCS *Apple* ID Site Support Engineer - APP...
…position, we are looking for an individual who has experience supporting customers with Apple ID issues and enjoys this area of support. This person should be Read more
Automotive Sales Consultant - Apple Ford Linc...
…you. The best candidates are smart, technologically savvy and are customer focused. Apple Ford Lincoln Apple Valley is different, because: $30,000 annual salary Read more
*Apple* Support Technician II - Worldventure...
…global, fast growing member based travel company, is currently sourcing for an Apple Support Technician II to be based in our Plano headquarters. WorldVentures is Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.