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

Latest Forum Discussions

See All

How to evolve Eevee in Pokemon GO
By now, almost everyone should be hip to how to evolve Pokemon in Pokemon GO (and if not, there's a guide for that). Just gather enough candy of the appropriate type, feed them all to the Pokemon, and evolution happens. It's a miracle that would... | Read more »
CSR Racing 2: Guide to all game modes
It might not seem like there are all that many ways to go fast in a straight line, but CSR Racing 2 begs to differ. [Read more] | Read more »
Bulb Boy (Games)
Bulb Boy 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Multi-award winning 2D point & click horror adventure about a boy with a glowing head. | Read more »
5 top free emoji keyboard apps
If we're not at peak emoji yet as a society, it feels like we definitely should be. The emoji concept has gone far beyond what anyone in Japan could have envisioned when the people there unleashed it on an unsuspecting world, but the West has... | Read more »
How to unlock more characters in Disney...
One of the big charms of Disney Emoji Blitz is seeing a wide variety of beloved Disney and Pixar characters transformed into smiling emojis. Even someone like the sneaky Randall from Monsters Inc., who probably never cracked a smile on film, is... | Read more »
Cubway (Games)
Cubway 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Cubway is a journey with an abstract story of lifecycle of rebirth, called Samsara. Guide the cube through the long way full of dangers... | Read more »
Colorcube (Games)
Colorcube 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Turn pieces and blend colours in this minimal yet visually stunning puzzler.Over 200 handcrafted and challenging levels. Features... | Read more »
Doodle God Griddlers (Games)
Doodle God Griddlers 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: | Read more »
Crusader Kings: Chronicles (Games)
Crusader Kings: Chronicles 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: Crusader Kings: Chronicles is an interactive text based game that puts you in the shoes of Guy de Rose as you make... | Read more »
Roads of Rome: New Generation (Games)
Roads of Rome: New Generation 1.0 Device: iOS Universal Category: Games Price: $5.99, Version: 1.0 (iTunes) Description: | Read more »

Price Scanner via MacPrices.net

Charitybuzz Set to Auction Unique Apple-1 Com...
Offering an opportunity to own the computer that sparked a revolution, on Monday, July 25, leading online charity auction platform Charitybuzz will auction what is claimed to be the world’s most... Read more
MacBook Airs on sale for up to $150 off MSRP
Amazon has 11″ and 13″ MacBook Airs on sale for up to $150 off MSRP for a limited time. Shipping is free: - 13″ 1.6GHz/128GB MacBook Air (sku MMGF2LL/A): $899.99 $100 off MSRP - 13″ 1.6GHz/256GB... Read more
Apple refurbished 13-inch Retina MacBook Pros...
Apple has Certified Refurbished 13″ Retina MacBook Pros available for up to $270 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free: - 13″ 2.7GHz... Read more
Apple refurbished 11-inch MacBook Airs availa...
Apple has Certified Refurbished 11″ MacBook Airs (the latest models), available for up to $170 off the cost of new models. An Apple one-year warranty is included with each MacBook, and shipping is... Read more
Apple iPad Pro Sales Far Outpacing Microsoft...
A report on Appleinsider notes that despite Microsoft Surface tablet PC sales growing by 9 percent year over year, revenues remained below $1 billion, and are down sequentially from the $1.1 billion... Read more
DEVONthink 2.9 Features Ultra-fast, Robust, A...
DEVONthink 2.9 allows users to keep databases synchronized using many means of transport. It transmits them between Macs on the local network or stores them in a syncable form on removable hard... Read more
12-inch WiFi Apple iPad Pros on sale for up t...
B&H Photo has 12″ WiFi iPad Pros on sale for up to $100 off MSRP, each including free shipping. B&H charges sales tax in NY only: - 12″ Space Gray 32GB WiFi iPad Pro: $749 $50 off MSRP - 12″... Read more
Apple refurbished 15-inch Retina MacBook Pros...
Apple has Certified Refurbished 2015 15″ Retina MacBook Pros available for up to $380 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free: - 15″ 2... Read more
Apple refurbished Mac minis available for up...
Apple has Certified Refurbished Mac minis available starting at $419. Apple’s one-year warranty is included with each mini, and shipping is free: - 1.4GHz Mac mini: $419 $80 off MSRP - 2.6GHz Mac... Read more
Apple Mac Sales Finally Colliding With ‘Innov...
After successfully swimming against a tide of diminishing PC sales through 2014 and 2015, it appears that Apple has finally stopped defying gravity and is running up against the unwritten “innovate... Read more

Jobs Board

*Apple* Solutions Consultant - APPLE (United...
Job Summary As an Apple Solutions Consultant, you'll be the link between our future customers and our products. You'll showcase your entrepreneurial spirit as you Read more
*Apple* Professional Learning Specialist - A...
Job Summary The Apple Professional Learning Specialist is a full-time position for one year with Apple in the Phoenix, AZ area. This position requires a high Read more
*Apple* Picker - Apple Hill Orchard (United...
Apple Hill Orchard, Co. Rte. 21,Whitehall, NY 9/7/16-10/228/16. Pick fresh market or processing apples Productivity of 60 boxes and 80 boxes processing fruit per Read more
*Apple* Solutions Consultant - APPLE (United...
Job Summary As an Apple Solutions Consultant, you'll be the link between our future customers and our products. You'll showcase your entrepreneurial spirit as you Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description:SalesSpecialist - Retail Customer Service and SalesTransform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.