MacTech Network:   MacForge.net  |  Computer Memory  |  Register Domains  |  Printer Supplies  |  Cables  |  iPod Deals  |  Mac Deals  |  Mac Book Shelf


  MacTech Magazine

The journal of Macintosh technology

 
 
AquaZone

Magazine In Print
  About MacTech  
  Home Page  
  Subscribe  
  Archives DVD  
  Submit News  
  Submit a Tip!  
  Get a copy of MacTech RISK FREE  
Google
Entire Web
mactech.com
Mac Community
More...
MacTech Central
  by Category  
  by Company  
  by Product  
MacTech News
  MacTech News  
  Previous News  
  MacTech RSS  
Article Archives
  Show Indices  
  by Volume  
  by Author  
  Source Code FTP  
Inside MacTech
  Writer's Kit  
  Editorial Staff  
  Editorial Calendar  
  Back Issues  
  Advertising  
Contact Us
  Customer Service  
  MacTech Store  
  Legal/Disclaimers  
  Webmaster Feedback  
ADVERTISEMENT
Click Here
Volume Number:11
Issue Number:9
Column Tag:Tips & Tidbits

Tips & Tidbits

By Steve Sisak, Contributing Editor

TIP OF THE MONTH

Specifying Your System Install Precisely

I just had cause to remember this, and thought it might be a good tip. If this is already well known, please forgive me.

System 7.5’s installer doesn’t list individual machines under system software. There are several reasons for this, all good, but none of them make you feel any better when you want to install a configuration any more complex than the “(full | min) system for (this | all) machines.”

If you would like see such a list, and stand looking at raw unpolished UI, then hold down the shift key while choosing “Custom Install” from the popup. A sub-package called “Specific Systems” will now be available under “System Software.”

- Eric Slosser

It’s a Tie!
No Ned Strikes Again.

If your application needs to put up a dialog while it is in the background, Inside Macintosh says that you must use the notification manager to request the user’s attention and wait for him to bring your app to the front before proceeding. If you’re running under System 7 or greater (the AppleEvent Manager is present), you can do this in one line by calling AEInteractWithUser().

Note that not only is this easy, but it also allows you to specify a timeout value, a notification record if you want to do a custom dialog, and an idle proc so you can continue processing while you’re waiting. If your application is in the foreground, AEInteractWithUser() returns noErr immediately.

- Ned Flanders
Springfield, U.S.A.

FWST!

This isn’t exactly undocumented, but it’s easy to miss. When you’re writing a control panel, don’t forget to delete the ‘fwst’ resource from the control panel before changing the panel’s size via the ‘nrct’ resource. The ‘fwst’ stores the old size, and unless you delete the changes you make to the ‘nrct’ will not register.

- Vinay Prabhakar
Gray Owl Software
GrayOwl1@aol.com

Even Better Than Bus Error

It seems that not a month goes by without hearing of the benefits of installing EvenBetterBusError on your system. One of the disadvantages of EvenBetterBusError is that since it is a VBL task that periodically checks Address 0, sometimes the MacsBug log is not helpful as the stack may be invalid. If, however, you are using Steve Jasik’s theDebugger, while debugging your App, set a watch point on address 0 (0,4). Now any attempt to write to Address Nil will stop your program on the offending line (source code et al).

- Anonymous



Click here to find out more about our best subscription bundle deal ever!
2 years of the magazine, and the all new MacTech DVD ... at 70% off!



Click on the cover to
see this month's issue!

TRIAL SUBSCRIPTION
Get a RISK-FREE subscription to the only technical Mac magazine!
 
 


MacTech Magazine. www.mactech.com
Toll Free 877-MACTECH, Outside US/Canada: 805-494-9797

Register Low Cost (ok dirt cheap!) Domain Names in the MacTech Domain Store. As low as $1.99!
Save on brand compatible and name brank ink jet and laser supplies.
Save on long distance * Upgrade your Computer
Movies with No Late Fees!

See local info about Westlake Village
SJ * BRJ * BJ * OJ * NITS
Staff Site Links



All contents are Copyright 1984-2007 by Xplain Corporation. All rights reserved.

MacTech is a registered trademark of Xplain Corporation. Xplain, Video Depot, Movie Depot, Palm OS Depot, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, NetProLive, JavaTech, WebTech, BeTech, LinuxTech, Apple Expo, MacTech Central and the MacTutorMan are trademarks or service marks of Xplain Corporation. Sprocket is a registered trademark of eSprocket Corporation. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.