DirectNET

Data Center Management Solutions including UPS Systems, Data Center Cooling, KVM over IP & IP Power Strips, Server Racks and Server Rack accessories; KVM Switches and KVM Extenders; Rackmount Monitors and Rackmount Keyboards.


NAVIGATION
Home
Store
INSIDE MAC
Television Shows
Broadcast Shows
Daily News Shows
Special Shows
EVENTS
DAILY TIPS
Design
Mac OS X
Mac OS X UNIX
COMMUNITY
Forums
Surveys
NEWS
Current
Press
Archive
FEATURES
Editorial
Dr. Mac
Reviews
Reader Reports
RESOURCES
FAQ
Documentation
Learning Center
MAN pages
Glossary
Tutorials
Tips
Links

OUR PARTNERS



Dr. Mac's OS X Tip-of-the-Day  

Dr. Mac's Patient Reveals The World's Shortest Useful AppleScript.

By BOB LEVITUS

Here's a great tip submitted by a patient named Tom, who calls it the world's simplest useful AppleScript. It's easy enough for anyone to do, and is quite useful if you use Classic.

Here's how it goes:

Unless you have a Classic application running, you cannot access the OS 9 menu bar or Apple Menu easily from OS X. You have to launch some OS 9 app just to get the menu bar and Apple Menu to become visible.

I've created a very simple AppleScript that allows me access to the Mac OS 9 menu bar with just a click on the Dock. This allows me to use all those useful OS 9 only utilities that park in the menu bar and allows me to use the old Apple Menu to access OS 9 utilities, just as if I was running in OS 9.

I've named the script, Classic Menu Bar, but you can save it with whatever name you like. When launched, it just sits in the menu bar waiting for me to click on it to access all the old OS 9 goodies.

I use the *OS 9* Script Editor to save the script as an Application with the Stay Open and Never Show Startup Screen options checked. That ensures the script is an OS 9 script, runs with the minimum fuss and is always available in the Dock as long as Classic is running. Or put the script in the Dock and it will launch Classic as needed.

So what's the source code for this very useful script. Nothing! Just save an empty script. Click on the Classic Menu Bar item in the Dock any time you want access to the OS 9 menu bar and Apple Menu.

So, is that the simplest AppleScript that still does a very useful function?

Yup. It sure is. I don't use Classic much anymore so I rarely think of good Classic tips myself. So thanks for this one, Tom. It's cool.

To discuss this tip (or anything you like) in Dr. Mac's OSXFAQ Forum, click here:

http://forums.osxfaq.com/viewtopic.php?topic=1067&forum=100

Bob LeVitus is a leading authority on Mac OS and the author of 38 books, including Mac OS X For Dummies and The Little iTunes Book

Copyright © 2000-2008 Inside Mac Media, Inc. All rights reserved.
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users.
Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc.