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

Check out the new Pirate Attack update i...
Love pirates and board games? Well, you'll love the new Pirate Attack themed update that just launched in Game of Dice. It adds a bunch of new content themed around pirates, like an all new event map based on a pirate ship which revamps the toll... | Read more »
Splash Cars guide - How to paint the tow...
Splash Cars is an arcade driving game that feels like a hybrid between Dawn of the Plow and Splatoon. In it, you'll need to drive a car around to repaint areas of a town that have lost all of their color. Check out these tips to help you perform... | Read more »
The best video player on mobile
We all know the stock video player on iOS is not particularly convenient, primarily because it asks us to hook a device up to iTunes to sync video in a world that has things like Netflix. [Read more] | Read more »
Four apps to help improve your Super Bow...
Super Bowl Sunday is upon us, and whether you’re a Panthers or a Broncos fan you’re no doubt gearing up for it. [Read more] | Read more »
LooperSonic (Music)
LooperSonic 1.0 Device: iOS Universal Category: Music Price: $4.99, Version: 1.0 (iTunes) Description: LooperSonic is a multi-track audio looper and recorder that will take your loops to the next level. Use it like a loop pedal to... | Read more »
Space Grunts guide - How to survive
Space Grunts is a fast-paced roguelike from popular iOS developer, Orange Pixel. While it taps into many of the typical roguelike sensibilities, you might still find yourself caught out by a few things. We delved further to find you some helpful... | Read more »
Dreii guide - How to play well with othe...
Dreii is a rather stylish and wonderful puzzle game that’s reminiscent of cooperative games like Journey. If that sounds immensely appealing, then you should immediately get cracking and give it a whirl. We can offer you some tips and tricks on... | Read more »
Kill the Plumber World guide - How to ou...
You already know how to hop around like Mario, but do you know how to defeat him? Those are your marching orders in Kill the Plumber, and it's not always as easy as it looks. Here are some tips to get you started. This is not a seasoned platform... | Read more »
Planar Conquest (Games)
Planar Conquest 1.0 Device: iOS Universal Category: Games Price: $12.99, Version: 1.0 (iTunes) Description: IMPORTANT: Planar Conquest is compatible only with iPad 3 & newer devices, iPhone 5 & newer. It’s NOT compatible with... | Read more »
We talk to Cheetah Mobile about its plan...
Piano Tiles 2 is a fast-paced rhythm action high score chaser out now on iOS and Android. You have to tap a series of black tiles that appear on the screen in time to the music, being careful not to accidentally hit anywhere else. Do that and it's... | Read more »

Price Scanner via MacPrices.net

BookBook For iPad Pro Coming Soon
The iPad Pro is a device unlike any other, and with Apple Pencil, it’s the ideal portable sketchpad: all that’s missing is the modern easel and portfolio to go. TwelveSouth’s BookBook for iPad Pro... Read more
12-inch 1.2GHz Silver Retina MacBook on sale...
B&H Photo has the 12″ 1.2GHz Silver Retina MacBook on sale for $1399 including free shipping plus NY sales tax only. Their price is $200 off MSRP, and it’s the lowest price for this model from... Read more
iPads on sale at Target: $100 off iPad Air 2,...
Target has WiFi iPad Air 2s and iPad mini 4s on sale for up to $100 off MSRP on their online store for a limited time. Choose free shipping or free local store pickup (if available). Sale prices for... Read more
Target offers Apple Watch for $100 off MSRP
Target has Apple Watches on sale for $100 for a limited time. Choose free shipping or free local store pickup (if available). Sale prices for online orders only, in-store prices may vary: - Apple... Read more
Apple refurbished 2014 13-inch Retina MacBook...
Apple has Certified Refurbished 2014 13″ Retina MacBook Pros available for up to $400 off original MSRP, starting at $979. An Apple one-year warranty is included with each model, and shipping is free... Read more
Macs available for up to $300 off MSRP, $20 o...
Purchase a new Mac or iPad using Apple’s Education Store and take up to $300 off MSRP. All teachers, students, and staff of any educational institution qualify for the discount. Shipping is free, and... Read more
Watch Super Bowl 50 Live On Your iPad For Fre...
Watch Super Bowl 50 LIVE on the CBS Sports app for iPad and Apple TV. Get the app and then tune in Sunday, February 7, 2016 at 6:30 PM ET to catch every moment of the big game. The CBS Sports app is... Read more
Two-thirds Of All Smart Watches Shipped In 20...
Apple dominated the smart watch market in 2015, accounting for over 12 million units and two-thirds of all shipments according to Canalys market research analysts’ estimates. Samsung returned to... Read more
12-inch 1.2GHz Retina MacBooks on sale for up...
B&H Photo has 12″ 1.2GHz Retina MacBooks on sale for $180 off MSRP. Shipping is free, and B&H charges NY tax only: - 12″ 1.2GHz Gray Retina MacBook: $1499 $100 off MSRP - 12″ 1.2GHz Silver... Read more
12-inch 1.1GHz Gray Retina MacBook on sale fo...
B&H Photo has the 12″ 1.1GHz Gray Retina MacBook on sale for $1199 including free shipping plus NY sales tax only. Their price is $100 off MSRP, and it’s the lowest price available for this model... Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Retail - Multiple Positions (US) - A...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* Subject Matter Expert - Experis (Uni...
This position is for an Apple Subject Matter Expert to assist in developing the architecture, support and services for integration of Apple devices into the domain. Read more
*Apple* Macintosh OSX - Net2Source Inc. (Uni...
…: * Work Authorization : * Contact Number(Best time to reach you) : Skills : Apple Macintosh OSX Location : New York, New York. Duartion : 6+ Months The associate would Read more
Computer Operations Technician ll - *Apple*...
# Web Announcement** Apple Technical Liaison**The George Mason University, Information Technology Services (ITS), Technology Support Services, Desktop Support Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.