Mac Net Journal : Making the most of working with Mac OS X


 

This site

Living outlines

Recent articles

Channels

OS X resources

Other Mac stuff

Wireless

Digital Photo

Radio resources


Donate to support MNJ

Radio users can subscribe here:
Subscribe to "Mac Net Journal" in Radio UserLand.

View the XML:
Click to see the XML version of this web page.

E-mail Rob:
Click here to send an email to the editor of this weblog.

Subscribe to my Instant outline:
Click on the coffee mug to add Rob McNair-Huff's Instant Outline to your Radio UserLand buddy list.

 

 

Restart your Dock with AppleScript

Have you ever had your Dock lock up on you under OS X? If you just closed an application and it still shows that it is running in the Dock, then the way to clear up the problem is to quit the Dock. When you quit the Dock, OS X realizes that the Dock isn't running and it restarts it for you, putting you right back in business.

Here is the easiest way to make sure restarting your Dock is as easy as one click, with the help of a simple AppleScript.

First, dig into your Applications folder and open the AppleScript folder, then double click on the Script Editor. What you are going to do here is create a script, save it as an OS X applet and then place an alias to the applet in your Dock so that all you will need to do to restart the Dock is click on the applet icon and watch your Mac do its work.

With your Script Editor open, type:

quit application "Dock"

Then save the new script, being sure to save it as an OS X applet. Once it is saved, go to the folder where you stored the saved applet and drag it to the Dock to create a shortcut.



© Copyright 2002 Rob McNair-Huff.
Last update: 10/24/02; 1:21:56 PM.

Click here to visit the Radio UserLand website.