A place to share your GeekTool setups
For those who don’t know, GeekTool is a preference pane that allows you to display different kinds of information on your desktop. These bits of information are called Geeklets, and they can be text, images, files, and the output of shell commands. Some of the most common things to use it for are displaying to do lists, today’s iCal events, the date, the current iTunes song and unread mail.
The latest version now allows you to save your Geeklets and share them with each other, so I’ve created a site just for that. It allows you to submit your Geeklets and vote on others to see which are most popular. If you are new to this, it also has a page for getting started with GeekTool.
Here are a few tips for using GeekTool.

If you have overlapping Geeklets, you might find that the wrong one is on top. Just right-click on the Geeklet and change the order by choosing “Send to back” or one of the other options.
2. Don’t set refresh to zero
By default, GeekTool sets the refresh time to 0, which means it continuously refreshes as quick as it can. It is best to avoid this as it can take a considerable toll on your system, hogging resources and slowing things down. For things that really have to be updated very regularly, consider a refresh time of 5 or 10 seconds instead.

By putting your Geeklets into separate groups, you can quickly and easily enable and disable them based on their grouping. Note that Geeklets can be in multiple groups - as long as one of the is enabled, the Geeklet will be shown.
4. Use the menubar item
GeekTool now has a menubar item that you can enable from the preference pane. From here you can enable and disable groups, force a refresh on all Geeklets, disable GeekTool, and access the preference pane.
5. Check out other people’s Geeklets
Check out the Geeklets other people have posted to get some inspiration for your desktop. Vote up your favourites, and share your creations too.
Delete large files from a Time Machine Backup
Just enter Time Machine, locate the file you want to delete, right-click on it and choose "Delete All Backups..." But which files do you delete?

You want to get rid of large files, but not those that are important. The best way to do this is to use an application called GrandPerspective. Pierce Wetter has created a modified version of this application specifically for Time Machine backups.
It searches through your backups, and finds large files that have only been backed up once. These will be the files that either constantly change by small amounts or were only on your Mac for a very short time.
It then produces a nice "map" of your backup, so you can easily see which files are taking up the most space. Hold you mouse over one of large boxes, and make a note of the backup date and location, shown at the bottom. Then just enter Time Machine, go to the date, and remove the backup as usual.
If you find that a lot of the files you are removing are in the same location, you might want to exclude that folder from the Time Machine backup. To do this, just go to the Time Machine section of System Preferences, click the Options button and then drag the folder into the list.
How to use Network Utility
Everything you can do in Network Utility you can actually do in a Terminal window using unix tools. But why go to all that effort when Apple have created a nice application that lets you do things much more easily.
When you first open up Network Utility you will see nine tabs along the top [Update: eight in Snow Leopard]. Here's a run through of what you can do in each tab.
1. Info
The first tab, Info, unsurprisingly gives you general information about your network. The Network Interface drop-down menu shows all the different ways your Mac can connect to the Network. Typically these are ethernet, wireless and Firewire.
The useful bits of information are the Hardware Address and IP Address. You will only have an IP address if that network interface is connected, otherwise it will say unknown. The Hardware Address, otherwise known as a MAC address, can be used to uniquely identify your computer (even though it is possible to change it).
One useful way to use the MAC address is when setting up your wireless router. You can set most routers to only allow specific MAC addresses to join, meaning other people can't log onto your wireless and connect to the internet.

2. Netstat
Netstat is a tool that is really useful to network administrators for troubleshooting, but pretty useless to the average user. If you choose "Display routing table information" and click Netstat, you will get a list that contains all the computers on the network. For example, I get Matts-Macbook, Matts-iPhone and ChrisG5.
If you choose "Display the state of all current socket connections" and click Netstat you'll see a list of your computer's network connections. For example, the first items on the list will correspond to any web pages you have open. If you type the numbers under "Foreign Address" into Safari, the web page will sometimes appear.

3. AppleTalk
The AppleTalk tab is very similar to the Netstat tab, but specifically for Apple's proprietary protocol called AppleTalk. It was very popular in the early days of the Mac, but now has been pretty much abandoned and is unsupported in Snow Leopard. You can read more about AppleTalk on its Wikipedia page.
[Update: The AppleTalk tab is completely gone in Snow Leopard]
4. Ping
Ping is a tool to check if an internet address is working. When you "ping" an address, you send a small bit of data which it sends back.
You can use this to check if a website is down if it isn't loading in Safari. Alternatively, if you think your internet connection is down, you can try pinging sites that almost never go down like google.com and bbc.co.uk to see if you have a problem on your end.

5. Lookup
Lookup allows you to get information about a web site or IP address. The drop-down menu allows you to choose from a number of different types of information. For example, performing a Name Server lookup on macosxtips.co.uk will tell you that this site is hosted by Dreamhost, and a MX record lookup will tell you that our email is handled by Google.

6. Traceroute
When you enter an address and click Trace, traceroute will show you the route taken by data sent between you and the server. It allows you to see all the servers that your data goes through along the way.
You can use this to troubleshoot connection problems by finding out the point where your data is being blocked.
You can also use it when you are downloading a file and have multiple download mirrors in different locations to choose from. Just type the addresses of the mirrors into traceroute and you can get a good idea of which mirror is fastest.

7. Whois
The Whois database gives you information about internet addresses and who has registered them. The default whois server whois.internic.net works quite well for most addresses, but you might have to type "domain apple.com" for example to get it to work. For .co.uk addresses use "whois.nic.uk" as the whois server. You will get information like the registrant, their address, who they registered with, when their registration was started and and when it expires.

8. Finger
Finger, created in 1971, is one of the earliest forms of status updates that are now done using Facebook and Twitter. It's hardly used anymore, but you can use finger to check if your friends are online, and you can post .plan files to your profile similar to blog posts.
One of the best ways to use finger is to type in your username or the username of another user on your Mac. It will tell you if they/you are currently logged in and how long since they/you last logged in.

9. Port Scan
The final tab in Network Utility, Port Scan, is for scanning which ports are open at a certain address. These Network ports are a sort of virtual version of the ports on the side of your computer, and each port is for a certain type of network traffic. For example, port 80 is used for web pages.
You can use Port Scan to test your own computer by typing in the name of your Mac followed by ".local". You can find this name in the Sharing section of System Preferences.
Things like iTunes sharing, instant messaging, BitTorrent, AFP and SMB sharing all use different ports. If you find that one of these isn't working, it might be because your firewall is blocking the port that it uses. Instead of turning off your firewall, you can just set it to open that port.
Just run Port Scan with the application or sharing turned off and then again with it turn on to see which port appears. You can then set your firewall to open this port and allow network traffic through. Note that the built in firewall that comes with Mac OS X works on a per application basis rather than a port basis, to keep things simpler for the average user.

Create double-clickable dvdmedia movie bundles
As the DVD media is a folder, obviously you can't double-click it to open it in DVD Player. Instead you have to do the cumbersome open-the-app-then-drag-and-drop-to-icon procedure.

The way around this is to rename the folder with the .dvdmedia extension. This will turn the folder into a bundle, and add a nice DVD icon as well. Double-clicking this will automatically open it up in DVD player, but you can easily change this to another app like VLC for example. The easiest way is to choose Get Info on the bundle, choose the new app from the "Open with" section, and click the "Change All..." button. While you are in the Get Info window you might also want to click “Hide Extension” and rename the bundle to the name of the movie. You can also change the icon to the artwork for the movie which you can get from a site like Get Video Artwork.
One annoying side effect of this is that Front Row won't recognise dvdmedia bundles, whereas it will recognise VIDEO_TS folders. Of course, to get your movies to work well in the Finder, Quicktime iTunes, Front Row and iPhone all at the same time you might prefer to run them through a tool like HandBrake. This can also save you some space depending on how you encode them.
If you want to win a copy of Cram, a great application for studying and testing, there is still time to enter our competition.
Ignore Software Updates
To ignore an update, just select it in the list and choose "Ignore Update..." from the Update menu. Alternatively you can just press the delete key. Now the update will stop showing up in the list of new software.

If you change your mind, you can all you ignored updates back by choosing "Reset Ignored Updates" from the Software Update menu. Unfortunately this will bring back all of your ignored updates, so if you only want to bring back one you will have to ignore all the rest again.

10 tips for using Mac OS X like a pro
1. Download Quicksilver

2. Get to grips with keyboard shortcuts
This may seem like a really simple tip, but far too often I watch supposedly experienced computer users take forever performing simple tasks like copying and pasting. The fact of the matter is keyboard shortcuts make everything easier, but not only do you have to learn them, you have to get into the habit of using them. There is a hugely extensive list here, but to be honest nothing will save you more time than getting into the habit of using shortcuts for quitting, closing windows, copying and pasting and switching applications.
For the more adventurous, you can create your own keyboard shortcuts in the keyboard and mouse section of System Preferences. And if you want to go even further, here are 10 AppleScripts that you can assign keyboard shortcuts to using Quicksilver.
3. Drag and drop everywhere
This is often a problem that comes from working in Windows a lot, where drag-and-drop doesn't quite have the same power. However in Mac OS X, you can use it almost anywhere. Dragging folders onto open/save dialogs will make it display that folder. Dragging text selections onto icons in the Dock does all sorts of useful things. And you can just drag files onto "Choose File" buttons in web pages.
4. Change hidden settings with Terminal commands

5. Download VLC
VLC is a multipurpose media player that can play pretty much any movie file you throw at it. While Quicktime will serve you for most needs, VLC will handle anything that Quicktime struggles with, as well as stubborn DVDs and VIDEO_TS folders. Download it here.
6. Understand the concept of packages
In Mac OS X, packages are just folders disguised to look like single files. In fact, almost every application is a package. To look inside packages, just right-click on one and choose Show Package Contents. Why would you want to do this? Inside application packages are all the files it needs to run. Once inside, you can tinker about and change things. Here's a previous tip with a collection of things you can do, including changing the unexpectedly quit message, the iCal alarm message and the layout of System Preferences.
7. Quickly kill accidently opened applications
If you are clumsy like me, you will often accidently click the wrong icon in the Dock. Or maybe you occasionally want to stop iTunes opening up when you plug in your iPod. If you are quick enough, you can just right-click (Control-Click) on the icon in the Dock and choose Force Quit. If you are too late, pressing the Option key will change Quit to Force Quit so you can close the unwanted application even faster.

8. Make rectangular selections (Cocoa apps only)
This is one of the best tricks for saving time when you are moving round chunks of text. If you want to select a column in a table or remove the numbers from the start of each line in a list you would normally have to go through every line individually. This can be hugely time consuming if you have a long list. To get around this, just hold the Option key while making the selection. Now you can draw a box around the stuff you want to copy or delete etc. and not worry about having to select entire lines.
9. Learn some AppleScript
Don't be put off by the idea of a programming language - AppleScript is about as close to normal english as you can get. AppleScript's real power is it's ability to automate repetitive tasks - in fact Automator is basically just a visual way to create AppleScripts. The best way to get familiar with AppleScript is to download some example scripts, try and figure out how they work, and then try and extend them or customise them for your own needs. If you are looking for scripts, I've written loads of tips that use a small bit of AppleScript to solve a problem.
10. Get comfortable using the command line
While you might be fine pasting a single line into the Terminal to change some hidden settings, you might not be comfortable actually working from the command line. I guess the whole point of Mac OS X is that it is a pretty graphical interface placed over the command line, but in reality some things are faster from the Terminal, and some things aren't possible without it. Learning about using the command line requires a whole tutorial in itself so I won't go into it here. O'Reilly have a great series of tutorials for beginners, and OSXDaily have a list of common commands.
Run Applescripts with Keyboard Shortcuts
The main loss I notice is being unable to assign keyboard shortcuts to scripts in the scripts menu, which would actually solve the entire problem because you could just create scripts to replicate the functionality of any menu item that doesn't want to have a keyboard shortcut. Luckily you can use Quicksilver to assign keyboard shortcuts to AppleScripts. (or anything else). Listed below are 10 AppleScripts to perform lots of tasks that are much more convenient to do quickly with a keyboard shortcut.

Quicksilver is probably one of the most versatile applications for Mac OS X so I won't try and explain everything it does. For our purposes, we only need to use the "Triggers" part, which is accessible from the Quicksilver preferences. If you want to know more about Quicksilver check out the official "What is Quicksilver", or read through Dan Dickinson's "QuickSilver - A Better OS X In Just 10 Minutes".
For each of the AppleScripts below, this is the process you need to go through to assign a keyboard shortcut.
1. Open up Script Editor (located in Applications/AppleScript) and paste in the script. You can test it works by clicking Run.
2. Save the script in the Scripts folder, located in the Library in your user folder.
3. Open up the Triggers panel in Quicksilver (Command-' when quicksilver is visible). If you don't already have Quicksilver, you can download it for free from here.
4. Click the plus (+) at the bottom, and choose HotKey from the menu to create a new trigger.
5. Start typing the name of the script and it should appear in the box. Alternatively you can just drag it into the box from the Scripts folder. Click Save.
These are just the scripts that I could think of off the top of my head. If you have any others that work well with a keyboard shortcut please share them in the comments.6. Assign a keyboard shortcut by double-clicking on the trigger column, and typing the shortcut.
1. Turn AirPort on and off
The two separate scripts that you need to use are below. It's pretty obvious which is which. As explained above, paste each one into a script editor and save as "Airport Off" and "AirPort On" in the Scripts folder.
do shell script "networksetup -setairportpower off"
do shell script "networksetup -setairportpower on"
2. Run Time Machine backup now
do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper &"
3. Eject All Disks
To eject all disk images, flash drives, external hard drives, CDs and DVDs (i.e. everything):
tell application "Finder" to eject (every disk whose ejectable is true)
To ignore CDs and DVDs:
tell application "Finder" to eject (disks where free space is not 0)
To ignore large drives (like a Time Machine backup). This is good to get rid of all the mounted disk images:
tell application "Finder" to eject (every disk whose ejectable is true and local volume is true and physical size < 1.0E+9)
4. Set colour labels in the Finder
You will need to create one script for each colour, and assign a different keyboard shortcut to each (or just the colours you use regularly). Command-Option-1, Command-Option-2 etc. might work well. The script works with multiple files selected too.
tell application "Finder" activate set selected to selection set colour to 2 repeat with n_file in every item in selected set label index of n_file to colour end repeat end tell
Replace the number in the fourth line with one of the following:
0 = No colour
1 = Orange
2 = Red
3 = Yellow
4 = Blue
5 = Purple
6 = Green
7 = Grey
5. Enable/Disable Growl Notifications
This page over at Mac OS X Hints has a great script for toggling Growl notifications on and off. Really useful for turning them off just before a presentation.
6. Go to Login Window
Quickly switch over to the login window without actually logging out. Works similarly to a "lock screen" shortcut.
do shell script "'/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession' -suspend"
7. Sync with MobileMe
do shell script "/System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/Resources/dotmacsyncclient sync"
8. Paste as plain text
This script just strips the formatting out of text in the clipboard. So you use Command-C to copy a load of formatted text, then Control-C (or whatever) to strip formatting, then Command-V to finally paste it.
do shell script "pbpaste | pbcopy"
9. Create a short URL
This script creates a short URL of the current page in Safari and copies it to the clipboard. Then all you need to do is paste into where you want it.
tell application "Safari" set bigURL to the URL in document 1 end tell set tinyURL to (do shell script "curl --url \"http://metamark.net/api/rest/simple?long_url=" & bigURL & "\" ") set the clipboard to tinyURL
10. The built in scripts
Most of the scripts that come with Mac OS X are pretty useless, but some are quite fun. They are all located in Macintosh HD/Library/Scripts. Here are the ones to look out for:
"Show/hide all" in Finder Scripts
"Create New Message" in Mail Scripts
"New Applications Window" in Navigation Scripts
"Convert to PDF" in the Printing Scripts
"Download Weather Map" in the URLs folder
There are also a few more scripts over at the MacTipper blog as well.
Change or disable the Front Row shortcut
This isn't very well publicised, and the only reason I know about it is that I keep accidentally pressing it when I go to Force Quit an application (Command-Option-Escape). People with American keyboard layouts also report accidentally activating Front Row when going for Command-Tilde (cycle through windows). As Front Row often takes a few seconds to load up and it takes over your entire screen, this can be pretty annoying.
If you are as clumsy as me, you might want to change the keyboard shortcut for Front Row. This is easily done by going to the Keyboard and Mouse section of System Preferences. Under the Keyboard Shortcuts tab you should find a list of all the keyboard shortcuts you can change.

Simply double-click on the shortcut for "Hide and show Front Row" and press the new combination you want. I went for Command-Control-Escape, as it's almost the same but much harder to accidentally press.
Alternatively, if you want to disable the shortcut completely, just un-check the box to the left of "Hide and show Front Row". Even if you do this, Front Row is still accessible via the remote.
Create a disk image that works in Windows
Disk images have far more widespread uses than this though. They can be used to create a exact copy of any CD, DVD or hard drive and turn it into a single .dmg file. You can then transfer this file around, and then simply double-click on it to mount the disk image. The most common uses of this are to create backups, to create a file for burning to CD/DVD, or to transfer the entire contents of a hard drive from one computer to another.

Unfortunately, the dmg type disk images that Mac OS X uses are not really Windows friendly. The cross-platform standard for disk images is the ISO format. These can be created on your Mac, and can be read by any Mac or Windows PC. This is especially useful if you want to burn a CD or DVD and your Mac doesn't have a burner but your PC does.
The first step in creating an ISO image is to make a folder of all the things you want to be in your disk image. Next, open up Disk Utility, located in the Utilities folder in the Applications folder. In Disk Utility, choose "New... Disk Image from Folder" from the File menu, or hit Command-Shift-N. Choose your folder, and then select a name for your image. Choose "DVD/CD master" from the Image format pop-up menu, and leave the Encryption as none. Click Save, and you're almost done.
You have created an ISO image, but strangely Disk Utility gives it the .cdr extension instead of the standard .iso extension. To avoid confusing Windows PCs, just rename your image with the .iso extension and you're done.
If you already have a normal Mac .dmg disk image, it's just as easy to convert it to .iso using Disk Utility. Just select Convert from the toolbar or the Images menu. Use the same settings as above, and remember to change the file extension to .iso.

For those of you who love the command line, you can convert disk image formats using hdiutil. This has the benefit of not requiring you to change the extension, but probably won't work out any quicker as the process is so straightforward in Disk Utility.
To convert from DMG to ISO, open up Terminal (in Applications/Utilities) and type:
hdiutil convert /path/to/image.dmg -format UDTO -o /path/to/newimage.isoReplace the two paths with the location of the image and the place you want to save the new image. For example I would use /Users/matt/Desktop/image.dmg. To avoid mistakes, you can just drag the image to the Terminal and it will enter the path for you.
To convert from ISO to DMG, just use the following instead:
hdiutil convert /path/to/image.iso -format UDRW -o /path/to/newimage.dmgText to Speech in Mac OS X
Since Mac OS X 10.4 Tiger, the amazing operating system has included many built in things. One of the many great things included with Mac OS X is called TTS (text to speech). I'll be covering an easy way to dive into text to speech. All you have to do is fire up Terminal.app (/Applications/Utilities/Terminal.app) and type in:
say 'text to say with no quotes'So if you type in:
say Hello WorldAnd hit return, then (as long as your speakers are turned on) your computer will 'say' hello world to you! A more advanced way to do this is to type in:
osascript -e 'say "some text" using "some voice"'
You can check the voices your system has in System Preferences in the Speech pane under the Text to Speech tab. You might have to select “Show more voices” at the bottom to get the full list.
[Matt adds: For any Cocoa application (Safari, TextEdit, etc.) there is a "Start Speaking Text" option under the Services menu (in the Application menu) that will speak your selection in the currently selected system voice. Great if you want a web page or long piece of text read to you. You can even assign a keyboard shortcut to it in the "Keyboard and Mouse" section of System Preferences. Also, since Leopard, Apple has added a new voice, Alex, which is much more realistic than the usual "robot" sounding voices that are available.]

Get the most out of your laptop battery
Over time, your battery holds less and less charge, meaning your laptop doesn't last as long between charges. Apple claims that their batteries are designed to retain 80% of their original capacity after 300 cycles.
You can check how many cycles your battery has done by looking in System Profiler. You can find this by clicking on the Apple menu in the top left and choosing About This Mac. In the window that appears, click the "More Info..." button. In the sidebar of System Profiler, click on Power to bring up all the details about your battery. The interesting part is the Health Information. (Note that the stats shown below are for a fairly new battery).

Charge remaining (mAh): 4940
Fully charged: Yes
Charging: No
Full charge capacity (mAh): 4940
Health Information:
Cycle count: 21
Condition: Good
If it says "Check Battery" under Condition, there is likely a problem with your battery. The good news is that if the cycle count is under 300, Apple are likely to replace the battery for free. If your laptop is under one year old, they will almost definitely do so. However, before seeking out a new battery, make sure to completely charge and discharge the battery at least one to check it is not a temporary problem.
If your battery is in good condition or is starting to show signs of aging, you will want to make sure you get the most out of it before you have to replace it. Here are a few tips to prolong the lifespan and battery life of your battery.
The best way to use your laptop on a day to day basis is to keep it fully charged as much as possible (i.e. plugged in), but run down the battery fully at least once per month. This is because it is important to keep the electrons inside moving occasionally. Doing this will make sure that your battery will continue to recharge to the maximum capacity for as long as possible.
To get the longest possible battery life, you should use your laptop between 10° and 35°C (50° to 95°F). More importantly, when storing your laptop you should keep it between -25° to 45°C (-13° to 113°F) even if you are not using it.
If you are going to store your laptop for a long time, Apple recommends you remove the battery from the laptop and store it at 50% charge. If you leave it fully charged or fully discharged you may find the battery loses a lot of capacity.
A simple method that can make your battery last a lot longer between charges is to tweak your System Preferences. Firstly, go to the Energy Saver Pane. Here, make sure the optimization menu is set to Better Energy Savings for when the laptop is powered by the battery. This will put the hard disk to sleep whenever possible, and reduce the laptop's CPU performance.

One trick that I often use if I am trying to squeeze an extra half an hour out of my battery is to reduce the brightness of the display. The simplest way to do this is to use the F1 key (F2 will increase the brightness again). Dim the screen to the lowest comfortable level, which should be pretty low especially if you are indoors.
You might also want to eject any CDs or DVDs you aren't using, quit as many applications as possible, disconnect any unused peripherals and turn off Bluetooth and Airport.
10 tips for Stickies
If you aren't familiar with Stickies, you'll find it in the Applications folder. Once opened, it will display a number of differently coloured "notes". You can write in each of these, and any that you leave open when quitting will still be there next time you open up Stickies.
Here are 10 tips for getting the most out of Stickies.
1. Make Stickies float above all windows
With the note you want to float selected, press Command-Option-F. This will cause the Sticky note to appear above all other windows no matter which application you are in. This is great if you are switching between multiple windows and application while writing or referring to a single sticky note. If you can't remember this keyboard shortcut, you'll find the command in the Note menu.
2. Make Stickies translucent
If you look in the Note menu, you will also see an option for a translucent window, with the keyboard shortcut Command-Option-T. This goes well with the floating window option, as it stops the floating sticky note getting in the way too much.

3. Add scroll bars to Stickies
This one might just be for the pros, as it is a bit tricky and requires you to have the Developer Tools installed (find them on your Mac OS X Install Disc).
One thing that may annoy you is the inability to quickly scroll through long notes, as you have to use the arrow keys to move through the text line by line. The way to fix this is to modify the Stickies application by using Interface builder to add scroll bars to the side of long Sticky notes.
First make sure Stickies isn't running, and make a backup of it by holding the option key and dragging it to another folder (just in case anything goes wrong). Next, right-click (Control-click) on the Stickies icon and choose "Show Package Contents" from the menu that appears. Inside the contents navigate to Resources/English.lproj and double click on StickiesDocument.nib to open it on Interface Builder.
If you are using Interface Builder for the first time, welcome to the wonderful world of how applications are made. A window called StickiesDocument.nib should be open. In this window there are a number of icons with various names including "File's Owner" and "First Responder". Double-click on the icon called "Window" which should open up a mostly empty, white window called "Stickies". Also, open the Inspector by pressing Command-Shift-I or by choosing it from the Tools menu.
-->
The title of the Inspector window should be "Stickies Window Attributes". Clicking ONCE on the Stickies window will change the title of the Inspector window to "Scroll View Attributes". Amongst the options in the inspector, you want to check the checkbox that says "Show Vertical Scroller" and the checkbox that says "Automatically Hide Scrollers".

That's it, you're done. Save the file (Command-S) and quit Interface builder. Next time you open Stickies, long Stickies notes should have scroll bars.

There are a lot more things you can do to modify Stickies using Interface Builder, but they are beyond the scope of this tip. If you want to do more, check out this old article on Modifying Stickies. Note that it uses an old version of Interface Builder, so a lot of the screen shots and descriptions are different to the current version.
4. Place other media in Stickies
Not many people know that the contents of Stickies is not restricted to text. You can put almost anything in them. Dragging a Quicktime movie onto a Sticky note will embed the movie in the note, complete with the usual play/pause controls. You can do the same for images and PDFs too. Sometimes Stickies will ask if you want to create an alias rather than a copy of the file within the Sticky. An alias will stop your Stickies database getting too big (especially with movies) and will mean that the contents of the Sticky will automatically be updated if the embedded file is updated.
5. Back up your Stickies library
If you use Stickies a lot, or you keep any important information in your Sticky notes, it is worth keeping a backup of the Stickies database in case anything goes wrong. All your Stickies are stored in one file that, as noted above, is fairly small unless you have embedded lots of movies in your notes. The file is named StickiesDatabase, and is located inside the Library folder in your user folder. Simply create a copy of this file somewhere else to make a backup.
6. Change default new note settings
To set the default font, text size, note size, note colour and translucency, create a new note and customize it to what you want. Then choose"Use as Default" from the Note menu. You can change even more settings by editing the Stickies preferences plist. Go to your user folder and navigate to Library/Preferences and find com.apple.Stickies.plist. The most interesting thing here is the WindowFlags item. Setting it to different values gives the following default notes:
0 - standard Sticky note
1 - minimized note (just title bar)
2 - floating note
3 - floating minimized note
4 - translucent note
5 - translucent minimized note
6 - floating translucent note
7 - floating translucent minimized note
7. Search
Using Command-F you can search for words in a single note or all notes. You can also perform a Find and Replace.
8. Dashboard Stickies
If you frequently use the Dashboard, then the widget version of Stickies might be more useful for you than the application version. Note that you can create as many different sticky notes as you want, simply by dragging another one up from the bottom bar. You can also change the fonts and colours by clicking the i button, however you are more limited than in the Application version.
9. Discover a Sticky note's creation and modification dates
This is a simple one - just hold your mouse still over any part of a sticky note to see a tooltip containing the Creation and Modification dates and times of the note.

10. Create a Sticky note from selection
Due to the Services menu in Mac OS X, you have access to Stickies whatever application you are in. Simply select any block of text anywhere and hit Command-Shift-Y to create a Sticky note with that selection.
To be honest, this is quite possibly the most powerful feature of Stickies. Never mind the ability to embed movies and have translucent windows. Being able to create a quick note of any text with one keyboard shortcut is the easiest and most useful aspect of Stickies there is.
Change the default text for pretty much anything in OS X
Change the default new folder name

First, navigate to Macintosh HD/System/Library/CoreServices. In here, locate the Finder application. Right-click (Control-click) on it, and choose "Show Package Contents" from the contextual menu. In the window that appears, navigate through to Contents/Resources/English.lproj. A quick way of navigating here (you might end up doing it a few times) is to use the "Go to Folder" option in the Go menu. In the box that appears, paste the following line:
/System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/Find the file named "Localizable.strings" and drag it to the Desktop to make a copy. We are going to edit this copy on the desktop, and then copy it back into the English.lproj folder to replace the original version. You might want to make an additional copy of the file as a backup, just in case anything goes wrong.
Open up the desktop version of the localizable.strings file using TextEdit. Scroll down to the line that starts with N2. it should say the following:
"N2" = "untitled folder";Now you can change the words "untitled folder" to anything you want. For something at the start of the alphabet, you could simply put "*untitled folder*".
Once you are done, save the file on the desktop and quit TextEdit. Finally, drag the file back to the English.lproj folder that you copied it from. Click Authenticate and type in your administrator password.
For changes to take place, you will have to relaunch the Finder, which can be done by holding down Control and Option, clicking the Finder icon in the Dock, and choosing Relaunch from the menu.
Suffixes for duplicates and aliases
These are done in exactly the same way as the new folder tip above. Only this time, change line N3 for aliases, or N4 for duplicates.
In these cases, "^0" takes the place of the original file name. So, for a duplicate, the default is "^0 copy", meaning the duplicate of "file.doc" is "file copy.doc". As above, you can change this to anything you want. "copy of ^0" would mean the duplicate would work better with file extensions, giving "copy of file.doc". However, it wouldn't be next to the original file alphabetically.
Remember to relaunch the Finder when you are done.
Shorten the Finder's 'Show Item Info' text
One of the features I like about Mac OS X is the "Show item info" check box located in the View Options of the Finder. This works for all windows in icon view, and is therefore especially useful on the desktop. However, one problem with it is the text for Hard Drives is too long, unless you make the text size really small.
You can solve this problem by editing the same localizable.strings file as above. Carry out the steps exactly the same, but search for the line "IV9" = "^0 free";. The best way to change this is to get rid of the word free, just leaving "IV9" = "^0";. You can see the result below.


Remove default Genres in iTunes
iTunes comes with a long list of genres, some of which many people will never use. Occasionally this may become annoying, for example when using the autofill feature.
To remove some of the genres, you have to edit the localizable.strings file within iTunes, rather than within the Finder. You can find this by going to iTunes in the applications folder, right-clicking and choosing "Show Package Contents". In here, navigate to Contents/Resources/Englihs.lproj where you will find the localizable.strings file. As before, you will have to copy it to your desktop before editing.
Open up the file in TextEdit. You'll find the list of genres under the line
/* ===== Genres ===== */. To remove a genre, don't bother deleting it, just in case you ever want it back. Simply "comment" out the line, by putting a /* at the start, and a */ at the end. For example, to remove Techno, you will simply replace the line with /* "9200.019" = "Techno"; */.As always, quit and reopen iTunes for changes to take effect.
Change the iTunes sidebar labels
The most obvious reason for wanting to do this is if you would prefer the labels to be lowercase. Using the same localizable.strings file as in the genre tip above, find the following lines:
"135.011" = "LIBRARY";
"135.012" = "DEVICES";
"135.013" = "STORE";
"135.014" = "PLAYLISTS";
You can change these to anything you want, or simply remove the capitalization.
Change the Finder's sidebar labels
You can do exactly the same thing in the Finder's sidebar. The file you need to edit is localizableCore.strings, located in exactly the same place as the localizable.strings file inside the Finder application. The lines you want to change are the following:
"SD5" = "DEVICES";
"SD6" = "SHARED";
"SD7" = "SEARCH FOR";
"SD8" = "PLACES";
Customize System Preferences
All the System Preferences panes are grouped into five categories - Personal, Hardware, Internet and Network, System and Other. It is quite easy to change these category names by going inside the System Preferences package, which is in the Applications folder. Inside it, navigate to the English.lproj folder inside the Resources folder. In here, find a file named NSPrefPaneGroups.strings and drag it to your desktop. Now open this file up in TextEdit and you'll see the following lines:
"personal" = "Personal";
"digitalHub" = "Digital Hub";
"hardware" = "Hardware";
"net" = "Internet & Network";
"system" = "System";
"addons" = "Other";
Don't change the words on the left, these are the ones used by System Preferences. You can change the words on the right. These are the ones displayed in the System Preferences window. Just make sure you don't delete any quotes or semicolons. Also, ignore the "Digital Hub" entry. This isn't used anymore and is probably just left over from a previous version of the operating system.
Now save the file and drag it back to the English.lproj folder from the Desktop. You will have to Authenticate this action with your administrator password.
Dock Menu items
For a bit of fun (I can't see why else) you can change the items in the menus you get when right-clicking on icons in the Dock. The Dock application is located in /System/Library/CoreServices. Right-click on it and choose "Show Package Contents". In the window that appears, navigate to Contents/Resources/English.lproj where you will find DockMenus.strings. Copy this file to the desktop to edit it.
Some of the lines you might want to edit are the "Application Not Responding" and "Force Quit" lines to something more reflective of the feeling you get when you see them.
Change Unexpectedly Quit message
With some tinkering it is possible to customize Mac OS X alert messages and dialog box text. For a bit of fun, you can change the message that appears when an application crashes to something more humorous.
Open up your hard drive and navigate to /System/Library/CoreServices. Find the Crash Reporter package and open it by right-clicking and choosing Show Package Contents.
In the window that appears, navigate to Contents/Resources/English.lproj and find Localizable.strings. Copy it to your Desktop and open it up in TextEdit. Near the bottom of the file you will see the line -
/* Unexpectedly quit dialog */
In the lines that follow this it is fairly obvious how to change the message. The symbol "%@" will make the message display the crashed Application's name, and "\n" will make a line break. Save the file and then copy it back to the package to replace the old version. You will have to enter your administrator password.

Volume Change Shortcuts
Holding down the Option key while pressing one of the volume change keys will bring up the Sound System Preference pane. Here you can change the alert sound, alert volume, and when different sound effects are played. You can also change the sound input and output, incase you have an external microphone or speakers.
Holding down the Shift key when pressing the volume keys will disable the sound that is normally played when you change the volume. You can disable this permanently from within the Sound Preference Pane by un-checking the box "Play feedback when volume is changed". Now, when you hold shift it does the opposite, temporarily enabling the volume change sound.
Unfortunately, this one is Leopard only. If you hold down both Option and Shift while pressing the volume keys, you can change the volume more accurately. The entire volume spectrum is divided into 65 instead of the usual 17 (by my count). This means you can adjust the volume by just a tiny amount if it is not quite right.

To disable the startup sound that plays when you turn on your mac, simply hold down the mute button while pressing the power button. Keep it held down for a while, until after the sound would have normally played.
The Ultimate Mac Screenshot Guide
Keyboard Shortcuts
The quickest way to take a screenshot is to use a keyboard shortcut. Annoyingly, these aren't particularly intuitive. There are two main ones:
Command-Shift-3 - Take a screenshot of the entire screen.
Command-Shift-4 - Allows you to click and drag around the area you want a shot of.
Each of these will save a file to the desktop named Picture 1.png, or a higher number if that file already exists.
Now there are a few extra things you can do. If you press Space after pressing Command-Shift-4, you will notice that the cursor changes to a picture of a camera. You can now just click on a window, icon, widget or almost any other interface element to take a screenshot of it. You can also add Control into the keyboard shortcut to put the image in the clipboard instead of saving it to the desktop. For example, pressing Command-Control-Shift-3 would allow you to then paste the image into another document.
The Grab Application

You can create a timed screenshot by going to the Capture menu, or by pressing Command-Shift-Z. Using this, you can achieve screenshots that are supposedly “impossible”. One example is the login window.
To change the pointer type, go to the Preferences. See the image below for the different options.

Disable Shadow
If you use the Command-Shift-4 Space method to take a screenshot of an entire window, you will find that the shadow is in the screenshot. This was added in Leopard because without the shadow, windows don't actually have a border if they have no scrollbars. However, if you prefer no shadows, you can disable them with a Terminal command. Simply open up Terminal (located in Applications/Utilities), paste in the following line and hit return.
defaults write com.apple.screencapture disable-shadow -bool trueAfterwards you will need to log out and in again for changes to take effect. To enable shadows again, simply repeat the command but with false at the end. The two images below show a before and after shot.


Change Image Format
The default image format for screenshots is png, which gives a nice, high quality picture. However you can change this if you want. As before, use the following Terminal command:
defaults write com.apple.screencapture type pngSimply replace png with your file format of choice. The available options are jpg, tiff and pdf. Changing to jpg gives a lower quality but smaller file. Some people prefer this for quick snaps, but others dislike the slightly blurry results it gives. As before, log out and in again for changes to take effect.
Advanced Screenshot Applications
If widgets are your thing, Screenshot Plus will probably be the method of choice for you. It's free, and allows you to do everything that you can achieve with keyboard shortcuts. It also allows you to view a preview image, before saving it to the desktop or importing it into Preview.
If you really want to go all out on your screenshots, you might want to consider buying an application like Snapz Pro. It allows you to do all of the things above, as well as record movies of your screen.
Finally, if you want to get screenshots of long webpages that don't fit on the screen, Paparazzi! is your solution. It gives allows you to set the size of the image, set a delay, choose the file name and choose the file format. Of course, if you want a PDF of the web page, that functionality is already built into Mac OS X.

Also, the MacTipper Blog pointed out one more thing I forgot. Using another Terminal command, you can change the default save location to somewhere other than the Desktop. The command is as follows:
defaults write com.apple.screencapture location /Full/Path/To/FolderFor full instructions, check out the MacTipper Blog.
Reset a lost OS X account password in single user mode
Remember, only use this if you have lost the Mac OS X install DVD. Also, don't do this if you have FileVault enabled in your account, and note that this will not change your keychain password.
First, we need to restart in Single User mode. To do this hold down Command-S while the computer is starting up. A command line prompt should appear on the screen instead of the login window or your normal desktop.
At the prompt, type
mount -uw / then return. Next, type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist then return. You will need to type these exactly the same, so write them down beforehand.
The next step requires you to know the short username of the account. If you don't know this, type
ls /Users followed by return, and look for it in the list that appears.Next, type
dscl . -delete /Users/username AuthenticationAuthority followed by return. Make sure you replace username with the short username of the account.The final command to type is
passwd username followed by return. As before, replace username with the short username of the account.The rest is self-explanatory. Type the new password, followed by return. When prompted, retype the password.
Finally, type
reboot and hit return! Your password should be reset.New features in Open and Save dialogs
In column view, there is a new contextual menu for changing the column widths. Simply right-click (or hold Control and click) on the handle at the bottom of each column, and the menu will appear. You can choose from Right Size this Column, Right Size All Columns Individually and Right Size All Columns Equally. Strangely, this menu is unique to Open and Save dialogs, and doesn't appear if you right-click the column handle in a normal Finder window. In that case, you have to use the old method.


There are also a couple of new keyboard shortcuts for Open and Save dialogs. Command-I will open up the Get Info window on the selected item, and Command-R will show the item in the Finder. However for some reason, these don't seem to work all the time in Save dialogs.
Automatically Insert the Date and Time
How can I set my MacBook to insert today's date, short version or long version, into whatever I'm keyboarding in??? QuicKeys is too expensive for Mac OS X and this Mac should do that!
The best way to do this is using an application called WordService. You can download it for free from the Devon Technologies site.
To install it, create a new folder in your Library folder called "Services" and drag the the WordService.service file into it. Log out then back in again to enable the service.
WordService is now accessible form the Services menu. This is under the Application menu in the top left, next to the Apple menu. You will probably have a lot of things in this menu, even if you have never installed any services before. This is because many applications will add things in that they think are useful. The new entries that WordService has addded are Insert, Format and Convert. Each of these has a submenu with multiple options. The full features are outlined at the bottom of this page.
To insert the current date or time, you want to look at the options in the Insert submenu. There are different options for inserting the short date, long date, time and combinations of these. Each one has a keyboard shortcut to speed things up.

Inserting the date and time is just one thing WordService is capable of. One of the more fun features is the Rotate13 option in the Convert menu. This allows you to "encode" the selected text with a simple substitution cypher. You can also speed up many repetitive tasks like removing double spaces and setting all caps or lowercase.
WordService works in all Cocoa applications (TextEdit, Mail, Safari etc.) and many Carbon Applications. As a result, you can use it almost everywhere. One notable place where it doesn't work is in Microsoft Word. Luckily, all of the Microsoft Office applications have their own way to insert the date and time. You'll find it under the Insert menu.
5 Login Window Tips
1. Add a message to the login window
You can add a string of text above the list of users in the login window. To do this, start by opening up Terminal. This is located in the Utilities folder, inside the Applications folder. Once it has loaded, paste in the following line and press return:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Hello There"Replace "Hello There" with your text. To remove the text, type the following line:
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText ""2. Hide accounts
If you find yourself with an overly long list of users in the login window or you just want to get rid of that annoying scroll bar down the side, you can stop accounts appearing in the login window.
Start by go to the Accounts pane in System Preferences, and find the "short name" of each user you want to hide. Once you have these, open up Terminal and enter the following:
sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add shortname1 shortname2 shortname3 Replace shortname1 2 and 3 with the short names of the user accounts you wish to hide. You can hide as many as you like, just separate each with a space.
To make a hidden name appear again, type the command with no names in it, therefore resetting the list of hidden users.
sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add Notice that doing this adds an extra option to your login window - "Other..." When you select this, you will be presented with text boxes to enter a username and password.
If you aren't running OS X 10.4, this doesn't work. Another option is to replace the list of users with username and password text boxes. Go to the Accounts pane in System Preferences and click on Login Options. There you will find an option to display the login window as name and password fields. This isn't as pretty, but saves time if you have lots of users, and is also more secure.
3. Change the Apple logo
You can replace the large Apple logo that appears at the top of the login window with any tiff image that is 90x90 pixels. In the Finder, choose Go to Folder from the Go menu or press Command-Shift-G. In the dialog box that appears, type the following line:
/System/Library/CoreServices/SecurityAgent.app/Contents/Resources/
To change back to the Apple Logo, just drag the copy that you made back to the Resources folder.
4. Get useful system stats
The name of you Mac is displayed in the login window below the words "Mac OS X". Since Mac OS X 10.4.3, you can click on the name of your Mac to show different statistics about your machine. Each time you click, it will cycle through different bits of information that are particularly useful when troubleshooting problems.
The order of the statistics are as follows:
One click: Your OS X version number (e.g. Version 10.4.9)
Two clicks: Your OS X build number (e.g. Build 7M271)
Three clicks: Your mac's serial number (e.g. WN1511LHKNW)
Four clicks: Your mac's IP address (e.g. 196.254.0.1)
Five clicks: The status of any networked account
Six clicks: The date and time (e.g. Saturday, January 20 2007 4:02:31 AM GMT)
Seven clicks: Back to where you started, the name of your computer.
So you click a few times and set the information line to your favourite thing, but next time you log in, it has changed back to the name of your mac. To change the bit of information that appears first, you need to do a bit of tinkering in the Terminal (Applications/Utilities). Open Terminal and type the following command:
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName Depending on which piece of information you want displayed, replace HostName with one of the following:
SystemVersion SystemBuild SerialNumber IPAddress DSStatus Time After doing this, hit return, and the next time you view your login window the information you chose will be displayed. To change it back to normal, simply repeat the command with
HostName at the end.5. Change the background image
There are ways to change the background image by replacing the Aqua Blue image, but that is slightly crude. A better way to do it is using the Terminal. Type the following command and press return:
sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture /Users/Shared/mynewbackground.jpg
/Users/Shared/mynewbackground.jpg is the location of the image you want to use. You don't have to type it out. Just paste the command as far as DesktopPicture and put a space after it. Then find your image in the Finder, and drag it onto the Terminal window. The address to your image should just appear. As far as I can tell, you have to place the image in a place that all users have access to (the shared folder is a good place).To change back to the normal Aqua Blue image, type the following command and press return:
sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture /Library/Desktop\ Pictures/Aqua\ Blue.jpg Reset a Lost OS X Account Password
If you still know the Administrator Password
If you still know the password to an administrator account, it is very simple to reset any standard or managed user's password. While logged in as the administrator, open up System Preferences and click on the Accounts section. All the accounts on the computer should be listed down the left hand side. Under each account name it should say Admin, Standard or Managed. If the lock at the bottom of the window appears locked, click on it to allow changes to the preferences.

Resetting an Administrator Password
Obviously, if you don't have access to an administrator account, you can't carry out any of the above steps. If you have forgotten the Administrator password or you can't log into your Mac at all, you will need to use the Mac OS X Install Disc.
Enter the Mac OS X Install Disc that is the closest version to that running on the Mac. For example, if you are running Mac OS X 10.4 Tiger, you should enter the Tiger install disk, not any earlier ones. Restart the computer, and hold the C key as it starts up. This might take longer than usual, and you can release the C key as soon as the Apple logo appears on the screen. When the window appears, choose your language and click the right arrow.

The next step depends on what version of Mac OS X you are using. For Tiger (10.4), choose Reset Password from the Utilities menu. For earlier versions, choose Reset Password from the Installer menu.
Choose your Hard Drive from the top and then choose the Account from the drop down menu. Be careful not to select System Administrator, as this is actually the root user, not the administrator account on your Mac. Now enter the new password, click Save, quit the Installer and restart the computer.
Note that there are a few issues with this method. Firstly, it does not reset your keychain password. You will have to do this separately. Secondly, do not attempt this if you have FileVault enabled. To reset an FileVault protected account, you need the master password.
Resetting a FIleVault Protected User's Password
If you have enabled FileVault to encrypt your Account, you need to know the master password that you set when you enabled it. This is the password that the administrator should know that allows you to reset any password on the computer. If you have forgotten the master password, unfortunately your data is lost forever.
If you know the master password, start by attempting to log into your account. When you get the password wrong three times, you will be able to click "Forgot Password". Now you will have to enter the master password and then a new login password for your account.
If you have lost the Mac OS X install Disc
If you have lost the install disc, don't try and use one from an earlier version as this might permanently block you out of your account. You really have two options: Firstly, you could buy a new copy of Mac OS X (try eBay). Secondly, there is a way of resetting an administrator password without the disc if you are running Mac OS X 10.4 Tiger. Note: Do NOT do this with a FileVault protected account, or your data will be lost forever.
First, note the short name of the account. This is the same as the name of its home folder, but not necessarily the name that appears in the login window. Restart your computer, and while it is starting up, hold Command-S. This will start up your Mac in Single User Mode. Once it has started up, you will need to enter three lines of code. Enter
sh /etc/rc and press return. Then enter passwd yourusername and hit return. Now you will have to enter a new password twice. What you type won't appear on screen, but it is working. Once you have done this, type reboot and hit return.This is the same as the Install Disc method in that it doesn't reset your Keychain password. You will have to do this separately.
Automate Trash Emptying
The one that empties items that have been in the trash for too long is a bit complicated and involves using the Terminal. The second one, however, is fairly simple and accessible to anyone who wants their trash to empty automatically.
It involves an AppleScript that you attach to the trash as a Folder Action. This script checks the size of the trash every time you add a file to it. If the size goes over a limit, it will deleted the item that has been in the trash the longest.
There are various versions of the script on the Mac OS X Hints page as many users added suggestions in the comments. If you are interested, take some time to read through the page to see how the script works. Adding all the suggestions and improvements, I made a copy of the script you can copy and paste from here.
Select all the text and paste it into Script Editor (in Applications/AppleScript). Now you need to decide what size limit your trash will have. This is specified in megabytes on the 4th line of the script. It is currently set to 2048 (2GB). If you would like a different size, change this number. 512 for example, would mean that older items would be deleted to keep the total size under 512 MB.
![]()
Once you are done choose Save As from the File menu and go to the Library in your User folder. In here go to Scripts, then Folder Action Scripts. You will probably have to create these folders unless you have added folder actions in the past. Save the script here.
Now open up Folder Actions Setup (in Applications/AppleScript). If you click the plus button, you will be presented with a normal "Open" dialog. However there is the problem that the Trash is a hidden folder. It's actually located in your user folder with Documents, Music, Movies etc. To get to it, press Command-Shift-G. In the box that appears, type "~/.Trash" (without the quotes) and click Go then Open.

In the list that appears, choose the script that you just saved. Now you can start trashing things without ever having to worry about emptying the Trash again!
Be warned that this script permanently deletes files from your computer, without you specifically telling it to do so. If you change your mind and want to retrieve a file you put in the trash, you may find that it is already gone.
For an easier alternative, you can download Compost, an application for automatic trash management. You can download it for free to try out (limited to 15 files), and it only costs $12.50 to use fully.
Recovering Lost Users
In general, there seems to be two reasons why a user account and their home folder can disappear. The first is simply that you have (accidentally) deleted the user. Any administrator account has the ability to do this from the System Preferences.
The second way occurs when upgrading or installing Mac OS X from the install disks. If you inadvertently chose an "Archive and Install" installation, all users are deleted unless you choose to preserve them.
Luckily, in both of the above cases, Mac OS X keeps a copy of the user folder in case you want to get it back.
Recovering Deleted User Folders
In the Accounts section of System Preferences you can delete a user by selecting them and clicking the minus button. You are presented with two options - to keep a copy of the user folder (the normal way) or to delete immediately. Unfortunately, if you chose to delete an account immediately, it is almost impossible to retrieve it.

However, it is more likely that you kept a copy (the option with the big blue "OK" button). This copy is kept in the Users folder under "Deleted Users". You must be logged into an administrator account to have access to this folder. Look in here for the name of the deleted user you want to recover, and double click it. This will mount a disk image on the desktop that essentially the deleted user folder. Hold option and drag this disk image from the desktop to the Users folder in your Hard Drive. Now you have restored the user folder, but you still need to create an account for it. Skip down to "Recreating the Account" to do this.
Users lost during an Archive and Install
When you perform an archive and install without preserving users, your user folders are archived away along with the rest of the existing system files for your Mac. A new folder called "Previous Systems" is created in Macintosh HD that contains all the users from before the archive and install. If you have done an archive and install multiple times, you will have a number of previous systems. Choose the one that contains all the users you wish to restore. In here is a users folder containing each of the deleted user folders. Drag the ones you wish to restore to the users folder in Macintosh HD. Now you have restored the user folders, but you still need to create accounts to be associated with them.
Recreating the Account

If you just want to retrieve certain files from the deleted user, you don't need to go through the hassle of creating a new user. From any administrator account you can open up the deleted user's disk image or Previous Systems folder and copy specific files from it.
Address Book Tips
Add Contacts to your Safari Bookmarks

Chat to your Contacts
Address Book integrates quite well into iChat, the Mac OS X instant messenger. If a person in your Address Book is online and using iChat, a little green dot will appear next to their picture. Clicking on the dot will open up iChat, where you can start a new conversation with the person.
Put your Contacts in the Spotlight
In Address Book, select which contact you want to search, and from the Action Menu (looks like a cog, located in the top left) choose "Spotlight [name]". The spotlight window will pop up, and show documents, photos, iCal events, mail messages and iChats related to this person. This is one of my favourite features of Spotlight - it allows you to use it as a personal organiser and links together Address Book, iCal, Mail and iChat.

If you don't have Address Book open, you don't need to bother opening it up to Spotlight search someone. Simply type their name into Spotlight for the same results.
Moreover, Spotlight remembers files that people have sent you. When searching for one of your contacts, Spotlight will list any files they sent as attachments to you, providing you received them in Mail.
Highlight Groups
If you hold down the Option key while you are viewing a contact, all the groups that they are in are highlighted in a lovely yellow.
Get Directions
You can easily get a map of a person's address using Address Book. Just click on their address and choose "Map Of" from the menu that appears. This will load up Safari (or your default browser) with a MapQuest map which allows you to get directions to and from the address. If you prefer to use Google Maps or Google Earth to view a map (or satellite image) of a person's address, there is a Google Maps Plugin available.
Merge two contacts
If somehow you end up with two entries in your address book for the same person, you can easily merge the two. Select the two entries by clicking on one in the list and then Command-clicking on the other. Now click on the Card menu and choose "Merge Selected Cards". If you have a huge contact list and you suspect some duplicate entries, you can also choose "Look for Duplicate entries" from the Card menu.

Large Type
If you want to read a person's phone number off the screen while dialling it across the room, you can make it display in large numbers across the screen. To do this, click on the number and choose "Large Type" from the pop-up menu.
Address Book Sharing
If you want to share your address book (for example with your family or secretary) you can do so providing you have a .Mac account. Open up Address Book and go to the Preferences (in the Address Book Menu). Click on the Sharing tab and check the box titled "Share your Address Book". Now click the plus icon to add people from your address book who have a .Mac account. People will only be allowed to view your address book, but if you select the "Allow Editing" option they will be able to make changes too.
Using vCards
In reality, most people don't have .Mac, so the standard way to share contacts is using vCards. A vCard is a file containing a contact's information that you can attach to an email and send to whoever you want. Luckily, vCards work really well with Address Book.
To create a vCard for a specific contact, select them from the list and right-click (Control-click) on their name. From the pop-up menu choose "Export vCard...".
To create a vCard that contains the information for all the people in a certain group, select the group you want from the list, right-click on it and choose "Export Group vCard...".
If you receive a vCard from someone else as an email attachment, you can add it to your address book in a couple of ways. If you received it in Mac OS X's Mail application, simply drag it from the email message across to Address Book. If not, save it to your Hard Drive and then choose Import vCards (Command-O) from the File Menu in Address Book.
Make Your Own Card

Restrict Private Information
If you don't want to share all of your contact information with everyone you send your vCard to, you can choose to keep certain parts private. Go to the Address Book Preferences and check "Enable Private Me Card". Now when you edit your own card, you can use the check boxes to choose which information is exported as your vCard.
Printing Envelopes
You can print an envelope addressed to a contact by choosing Print from the File menu with the chosen person selected. In the print dialog choose Envelopes from the Style pop-up menu. As an interesting quirk, Address Book will address the envelope to everyone in the household if you have specified a spouse or child in the person's entry. For more information, check in this Mac OS X Hints page.
Speed Up Dialog Boxes
The sliding animation may be pretty, but it can waste a fair amount of time if you are opening and closing sheets all day. You can speed this up and make your Mac feel much snappier by using a simple Terminal command to reduce the amount of time taken to display the animation.

Launch the Terminal (located in Application/Utilities) and type the following command:defaults write NSGlobalDomain NSWindowResizeTime 0.001
The number at the end is the length of the animation in seconds. With it set to 0.001, sheets appear pretty much instantly. The default is 0.2, so type the command with 0.2 at the end to return your sheet animation to normal.
For fun you can try higher values. This allows you to see just how detailed the animation is. Type the command with 2 at the end and load up TextEdit. Resize the window to as small as possible before selecting Save As from the File menu. You'll see the sheet jump up out of the window then gently fall into place.
Ask a Question
Dan writes:
My one year old daughter attacked my wife's iBook, and has somehow changed the settings so that the computer has gone 'negative' - everything looks like a photographic negative - desktop background, icons, the dock, everything. Does anyone know how to get this back to normal?
The "negative" effect is a feature of the Universal Access preferences. To quickly reverse it, press Control-Option-Command-8. You can change all the settings for this in the System Preferences, under the Universal Access pane. For more information on this, check out this previous tip on Universal Access.
Ignacio writes:
Hello, I accidentally erased the Ical application, i would like to know how to install it again.
The iCal application is included on the Mac OS X install disks that came with your Mac. However, technically you would have to reinstall the entire operating system to get it back.
A shareware application called Pacifist ( http://www.charlessoft.com/ ) allows you to open up the installer files and just install a single application. This should work for iCal or any other application included with Mac OS X.
Sean writes:
I have a delightful neighbor who's 90 years old who uses the net daily. She is sight impaired. I need to find a method of increasing the width of the scrollbars and their arrows to a size she can use. She recently switched from a PC to the Mac. She loves the Mac. It was easy to set the scrollbar size on XP. How can this be done on the Mac? Her Mac is a beige desktop G3 with lots of memory and OS X 10.2.8.
The only tools for the sight impaired that come with Mac OS X are the settings in the Universal Access pane of the System Preferences (in the Apple menu). There is an option here for zooming that zooms in on the cursor when you press a keyboard shortcut. However, this isn't exactly what you want and it involves learning a load of keyboard shortcuts.
Another option is to change the screen resolution. Go to the Displays pane in the System Preferences and choose a lower number from the list of resolutions. The drawback of this method is that everything gets bigger, and there is less room for viewing things like large photos.
I understand that neither of these are perfect solutions, but they may be worth a try.
Peek inside Mac OS X Packages
Packages are great because they allow the developer to store all the important related files inside the application. They are also great because they make it very easy to tinker with the way applications work.
To view or edit a package's contents, Control-click (or Right-click) on the application and select Show Package Contents from the context menu. This will bring up a finder window containing a folder named Contents. Inside here is the actual package contents.
The following are a few examples of what you can do inside Mac OS X packages.
Warning: It is a good idea to keep a backup of any file you modify. To do this, just Option-drag the file to copy it to a safe place before making any changes to the original.
1. Change Unexpectedly Quit message
With some tinkering it is possible to customize Mac OS X alert messages and dialog box text. For a bit of fun, you can change the message that appears when an application crashes to something more humorous.
Open up your hard drive and navigate to /System/Library/CoreServices. Find the Crash Reporter package and open it by Control-clicking (or right clicking) and choosing Show Package Contents.
In the window that appears, navigate to Contents/Resources/English.lproj and find Localizable.strings. Copy it to your Desktop and open it up in TextEdit. Near the bottom of the file you will see the line -
/* Unexpectedly quit dialog */
In the lines that follow this it is fairly obvious how to change the message. The symbol "%@" will make the message display the crashed Application's name, and "\n" will make a line break. Save the file and then copy it back to the package to replace the old version. You will have to enter your administrator password.

2. Change an application's default icon
You probably know how to change an application's icon by opening up its Get Info window (Command-I), clicking on the icon and pasting a new one over it. You can use the Cut tool (Command-X) to remove this icon and return to the default. To change this default icon, you have to delve into the package. The icon file is stored in the Resources folder within the package contents, and normally has the same name as the application with the .icns extension. You can replace this file with any other icon file, whether it is downloaded from the Internet or taken from another application.
If you dislike the way the iCal icon always displays the date as July 17 when it isn't open, there is an alternative icon inside the iCal package. If you look inside the Resources folder you will find two icons - App.icns and App-empty.icns. To change which one iCal uses, simply rename App.icns something like AppJul17.icns and make a duplicate of App-empty.icns named App.icns.
Some people also dislike the iTunes 7 icon. This Mac OS X Hints article describes how to change it back to the one used in iTunes 6.
3. Open help files in a Web browser
Anyone who has ever used the Mac OS X help browser will admit that it is a little on the slow side. Annoyingly, it also lacks a Save command, meaning you have to go through the slow process of loading it up and finding what you want every time. Luckily, the help pages are just HTML files stored away inside the application's package. This means you can open them up in Safari, which is much quicker for browsing and allows you to save bookmarks and Save pages.
For example, to open up the iPhoto help, open up the iPhoto package in your Applications folder. Then navigate to the English.lproj folder inside the Resources folder. Here you'll find a folder called iPhoto Help with a file named iPhoto Help.htm inside. Double-click on this file to open it up in Safari.

Annoyingly, every now and again a link will open up in Help Viewer, but generally you can browse the help files from within Safari.
Things like Airport, Applescript, Bluetooth, iPod and Mac OS X itself don't have an Application package to store the help files in, so these are located in the Library folder. To find them, go to your Hard drive and look inside Library/Documentation/Help. Each of the .help files in here is a package.
4. Change Text Clipping Behaviour

5. Customize System Preferences
All the System Preferences panes are grouped into five categories - Personal, Hardware, Internet and Network, System and Other. It is quite easy to change these category names by going inside the System Preferences package, which is in the Applications folder. Inside it, navigate to the English.lproj folder inside the Resources folder. In here, find a file named NSPrefPaneGroups.strings and drag it to your desktop. Now open this file up in TextEdit and you'll see the following lines:
"personal" = "Personal";
"digitalHub" = "Digital Hub";
"hardware" = "Hardware";
"net" = "Internet & Network";
"system" = "System";
"addons" = "Other";
Don't change the words on the left, these are the ones used by System Preferences. You can change the words on the right. These are the ones displayed in the System Preferences window. Just make sure you don't delete any quotes or semicolons. Also, ignore the "Digital Hub" entry. This isn't used anymore and is probably just left over from a previous version of the operating system.
Now save the file and drag it back to the English.lproj folder from the Desktop. You will have to Authenticate this action with your administrator password.
6. Modify iCal alarm message

Spotlight Tips
By default, you can access Spotlight by using the keyboard shortcut Command-Space. You can also bring up the Spotlight window by pressing Command-Option-Space. Both of these shortcuts are customisable from the Spotlight pane in the System Preferences. If the chosen combination clashes with another one on your computer a warning symbol will appear next to it. To fix this, click on the warning triangle to go to the Keyboard and Mouse pane that allows you to view all keyboard shortcuts and see which ones are the same.

In all Cocoa apps (Safari, Mail, TextEdit etc.) you can quickly search for selected text in Spotlight. The first way of doing this is to Right-click (Control-click) on a word to bring up the context menu. The first option in the list is "Search in Spotlight". If you want to search multiple words, you will need to select them before bringing up the menu. You can also achieve the same effect by selecting the text and pressing Command-Shift-F (or by going to the Services menu and choosing Spotlight).
There are two ways of putting your contacts in the spotlight. The simplest method is to just type the person's name into Spotlight. The alternative option is to do it via Address Book. Select which contact you want to search, and from the Action Menu (looks like a cog, located in the top left) choose "Spotlight [name]". The spotlight window will pop up, and show documents, photos, iCal events, mail messages and iChats related to this person. This is one of my favourite features of Spotlight - it allows you to use it as a personal organiser and links together Address Book, iCal, Mail and iChat.

Moreover, Spotlight remembers files that people have sent you. When searching for one of your contacts, Spotlight will list any files they sent as attachments to you, providing you received them in Mail.
To immediately choose the "Top Hit" press Command-Return. This shortcut makes Spotlight a bit better as an application launcher. If you press Command-Return on any other item it will bring up the enclosing folder in the Finder (i.e. Show in Finder). The same thing happens if you Command-click any item.
Spotlight indexes far more than you might expect. In iPhoto, keywords and photo titles are indexed, and in iChat your chat transcripts are as well. In terms of third party applications, Delicious Library indexes your movies and books, Microsoft Office indexes the author, title and description of your documents and Newsfire indexes the titles and contents of feed items.
On the Apple Spotlight downloads page there are loads of plugins to enhance your Spotlight searches. Some add Spotlight functionality to unsupported applications, while others allow access to internet search engines from Spotlight.
You can perform Spotlight searches from the Terminal. the mdfind command will perform a spotlight search with many flexible options. However you don't have to use the Terminal to access these advanced options. Mac Geekery has an article describing how to execute raw Spotlight queries from the Finder http://www.macgeekery.com/tips/how_to_execute_raw_spotlight_queries_in_the_finder
In the Spotlight window there is an info icon next to each search result. Clicking this will give you loads of useful information about that result. It's like choosing "Get info..." on a file in the Finder, only you can do it on iCal events, fonts, music, emails and contacts.

There are loads of keyboard shortcuts for manipulating the Spotlight menu. Most of these correspond to the normal behaviour in other Mac OS X menus. Use the Up and Down keys scroll up and down the menu. Command-Down will move to the first item in the next category, Command-Up Arrow will move to the first item in the previous category. Control-Up or the Page up key will move you to the first item in the menu, and Control-Down or Page down will take you to the last item in the menu. Command-Left and Command-Right will skip to the start or end of the search field, while Tab will select all text in the search field and Escape will clear it. If you press Escape with the search field empty, the Spotlight menu will close.
You can narrow you searches by specifying a kind. For example, to search for "Hello" but only in your music files, you would type "Hello kind:music". This can be done for almost any type of file - applications, movies, images, contacts and mail.
Using the same method as above, you can choose for Spotlight to only display files opened in a certain date range. For example, you would use "date:yesterday" to specify only files opened yesterday. Choosing a future date will display upcoming iCal events and to do items.
From the Spotlight pane in System Preferences you can enable, disable and rearrange categories. In the Privacy tab you can disable searching of specific locations.

To improve your Spotlight searches you can assign Spotlight Comments to files in the Get Info window. Access this by selecting your file in the Finder and pressing Command-I. Now you can set comments such as "urgent" or "temp" to make that file appear when those keywords are searched in Spotlight.
Playing with Half Minimized Windows
They mentioned the killall Dock thing... if you hold shift and collapse a window it goes slowly into the dock. if you do a killall Dock command in the terminal while it's collapsing, the window freezes in it's squished state, while still allowing you to scroll in it and click links (although the links will be in their original location).
SleepingInsomniac | Homepage | 03.21.07 - 4:42 am | #
This is great fun, and also a little weird. As mentioned, you will need to press Shift while clicking minimize to slow things down and give you enough time to run the command. Have Terminal open with "killall Dock" ready typed so you just have to press enter. When the Dock relaunches, your currently minimizing window gets stuck half way, but is still treated like a normal window. Drag it around, scroll up and down, browse web pages. It's not perfect however - as SleepingInsomniac notes, the links on web pages are still where they were before you minimized, making things a bit confusing.
Check out the image below to get an idea of what it looks like.

To get your windows back to normal you just need to close (Command-W) and reopen them.
Thanks to SleepingInsomniac for this!
Another Way to Force Quit
However robg, the man in charge over at Mac OS X Hints notes that this tip is pretty useless - if an application is stuck so much that you want to force quit it, it is unlikely to respond to menu clicks. To access force quit through the Apple menu you often have to switch to a working application before clicking it. The keyboard combination (Command-Option-Escape) still works no matter what the frontmost application is, but at first appearances adding in the shift seems to do nothing.
This is where the Mac OS X Hints community step in through a discussion in the comments. Turns out you can use the shift in the keyboard combination, but you have to hold it for a few seconds. Hold Command-Option-Shift-Escape for about 2 seconds and the current application will force quit without the hassle of the dialog box. Neat!
You can also force quit using the dock as noted before here on Mac OS X Tips. Right-Click (Control-Click) an application's icon in the dock and if it is not responding there will be a Force Quit option in the contextual menu. If the application appears to be fine, you will need to hold Option to change 'Quit" to "Force Quit". Note that with the Finder you need to hold Option before you Right Click to make "Relaunch" appear.
DigitalColor Meter Tips
You can get the color details in many different ways, the most common being RGB values. In web design it is useful to have the RGB as an 8-bit Hex value, and in the Mac OS X color picker you can type in the actual 8-bit RGB values.
Using the DigitalColor meter is pretty straightforward - Move the cursor over the pixel you want to sample, and read off the values. There are some extra tools to help you do this however.
You can change the size of the area sampled by sliding the "Aperture Size" slider. On the far left it looks at each single pixel, but to the right it averages multiple pixels to give the overall effect.

When you are using the mouse to choose the color from an area of the screen, you obviously can't go up to the menus at the top to choose any options. Therefore everything has to be done with keyboard shortcuts. (The options are still located up in the menubar, so you can check what shortcut does what if you forget). They are as follows:
- Command-X : Lock Horizontal Position
- Command-Y : Lock Vertical Position
- Command-L : Lock Position
- Command-Shift-H ; Hold Color
Once you have chosen the colour you want, you can use the following shortcuts to copy it:
- Command-C : Copies the Image in large box on the left
- Command-Shift-C : Copies the RGB values as text
- Command-Option-C : Copies the solid color as an image
It is also possible to save the image as a TIFF file by pressing Command-S.
Calculator Modes

Automate your Mac
The first thing to do is to make your Mac turn on by itself. You can set it to do this in the Energy Saver preference pane in System Preferences. Just load it up and click "schedule" and choose a time to start up (and/or shutdown) and on which days you want this. This will also wake up your Mac if it is asleep, but this might not work if you have a password enabled screensaver.



As far a scheduling specific applications goes, you have to use applescripts or automator actions for most of them. If you aren't completely super lazy, it is pretty straightforward to create a workflow in automator that opens up a list of websites, or starts an iTunes playlist going. To get this worklow to be carried out at a certain time, create an event in iCal and set an alarm. As the alarm action, set it to open up the automator file.
However, in some applications you can get the same results without making workflows or scripts. For example, in Firefox you can set multiple websites as your homepage, and all of these will open up when you start Firefox. There are two ways to do this. The first is to create a folder of bookmarks with all the sites you want to load on startup. After creating this folder, go to the Firefox preferences and click "use bookmark" to select the folder. The alternative way is to type in each address into the homepage field with a | (pipe) in between. Be sure to set Firefox to load your homepage on startup using the dropdown menu.

Finally, some applications have built in scheduling capabilities. Microsoft Entourage has tools to set Send and receive schedules that check for email at certain times and Apple's Backup has its own scheduling feature to carry out automatic backups however frequently you want.
You can use all of these features to automate your Mac and make sure that you never have to carry out a tedious task again.
Rectangular Selections

To do this type of selection, hold down the Option (alt) Key while the cursor is over a block of text in a cocoa application. Notice that the mouse arrow changes to a cross.
With the Option Key still held, click and drag to make a selection without the text up to the end of the line being automatically selected when you drag down over multiple lines.

If you want to do something particularly neat, once you have made a selection hold down the Command Key as well as the Option Key, which will allow you to make another selection somewhere else in the document, whilst keeping the first block of text still selected.
This works just about everywhere you are able to edit text, including Microsoft Word (although the cursor doesn't change to a cross) and text boxes in Safari. As you would expect, it works in TextEdit, Mail, and all the other usual Cocoa Apps.
Move Outlook Contacts to Address Book
There are 7 methods mentioned:
1. If you have access to a PC, use a windows program called OutPort
2. Do it via Netscape Communicator
3. Use a program called ABFiller, which is very simple a straightforward
4. Converting to vCards if you have Outlook 2003
5. A more complex trick, using terminal to customise things
6. Importing CSV files to Address Book
7. Importing via Thunderbird
Altogether, these tips should allow you to import contacts into address book in just about every situation.
Mac OS X keyboard shortcuts
Stop screen burn
Commonly referred to as screen burn, this used to be a major problem with CRTs that displayed the same image for a long while, and it got "burnt" into the screen so that it was permanently displayed.
Many people think that LCD displays are unable to get screen burn, but actually they can. Manufacturers call these faint remnants of an image "persistence". However it is quite easily solved, as detailed in the Apple article.
To avoid screen burn, set the energy saver preferences to turn off the display when not in use. To try and remove persistence, create a slideshow screensaver with one white photo, and display it until the persistence is gone.
Cancel a shut down command
This isn't a perfect solution and won't always work, but it is definitely worth trying if you suddenly remember you have to do one last thing before you shut down. The best conditions for this seem to be when you have lots of open applications and when the shut down seems to be taking quite a while.
From the article:
Have you ever told your machine to shut down, and then remembered that you had one last thing you wanted to do—send an email, check the weather forecast, or pay a bill online, for instance? Once the shut down process has started, it seems you’re out of luck—there’s no obvious way to cancel a shut down command.
However, there are two things you can do that will prevent your machine from shutting down. Either one should work, assuming you have enough open applications that the shut down process is taking a bit of time.
Reveal in Finder
Less obviously, Command-Clicking on an icon in the Dock will do just the same. But it doesn't end there. Command clicking has a similar effect when clicking icons in other places.
For instance, in the title bar of any cocoa app, you will see the name and icon of the open file. Command-Clicking on the icon brings up a list of all the enclosing folders.
Another example that could save you hours of wasted time, is command clicking spotlight results. This one is especially useful, as the other option (clicking on show all, finding the result, right-clicking and selecting show in finder) takes a long while in comparison.
(via TUAW)
Official Apple Tips
A little known page on Apple's web site is the Tiger Tip of the Week, which gives a weekly tip about any of the applications included with Tiger for free. Most of the tips concern the Dashboard and the Finder, but there are also tips on Safari, TextEdit, System Preferences and Spotlight.
In the support section of the Apple site lies the "Hot Tips" page for each of the iLife Applications. These aren't updated often, but contain a few gems, as they are written by people who really know their stuff. Get tips for iMovie, iWeb, iDVD, GarageBand and iTunes.
Of course Apple wouldn't provide Hot Tips for iLife while neglecting iWork, so there are also tips for Pages and Keynote.
Font Scaling
Most cocoa applications have the ability to scale fonts mathematically. This means that you can resize a selection of text containing different sizes while keeping the relative sizing between fonts. It also means that if you want all the text on a page a little bit bigger, instead of selecting each size and changing it a bit bigger (the 12 point to 14 point, the 16 point to 18 point etc.), you can just do it relatively.
Select all the text in your document and open the Font panel ( Usually Format->Font->Show Fonts) and enter "*1.2" or another mathematical expression. The example given will multiply all font sizes by 1.2, but you can do anything, like "/2" to half the size, "*.0.75" to get 75% of the original size.
Also its worth pointing out you can also use addition and subtraction to change the point size, but that won't make the fonts scale relative to each other.
Zero-Out Free Space
First open Disk Utility in /Applications->Utilities. Then select the hard drive partition on the left of the screen, select the erase tab, then click "Erase Free Space". Choose which option you want (the first option is usually enough) and click the "Erase Free Space" button. The process can take anywhere from an hour to quite a few hours depending on your hard drive size, and the amount of free space.
During the process a "You are running low on disk space" warning may pop up, just click OK on this and ignore it. That message is suppose to pop up. Disk Utility zeros out the free disk space by simply making a giant file that is nothing but zeros.
Warning: If you become impatient or worried and cancel the process when it is being done, you may have to restart and empty your trash in order to recover disk space. This will delete the giant file Disk Utility creates in order to zero the disk space. Despite what numerous forums claim, this process is very safe, and will not harm your data under normal circumstances.
Provided by Jeremy, the owner of the Life in a circuit board blog.
Taking Screenshots
To take a screen shot, hold down the following keyboard shortcuts.
- shift + command (the Apple key) + 3 for a shot of the entire screen.
- shift + command + 4 for a way of clicking and dragging around the area you want a shot of.
- shift + command + 4 then press space to be able to click on a window or other interface element (menubar, dock, icons etc.) to take a screen shot of that.
Easy enough. Each of these saves a file to your desktop named "Picture 1.jpg" (or a higher number if the file already exists).
If you want to take a screenshot using the Terminal (Macintosh HD/Applications/Utilities) here is how. Just type the commands in (except the quotes).
- "screencapture ~/Desktop/screen.jpg" Takes a full screen shot and save it to screen.jpg on your Desktop.
- "screencapture -iW ~/Desktop/screen.jpg" Same thing as #3 above, just click a window to take a screenshot. If you push space it will go into mouse selection mode (same thing as #2 above).
Grab (Macintosh HD/Applications/Utilities) can also be used to take screenshots. It provides an easy user interface, as well as a way of doing timed screen shots and changing the mouse pointer style (option located in the preferences).
Word Completion in Cocoa
There are a number of different ways of doing this however. In certain places it isn't possible to press escape, because it does something else (like clearing the Google search box in Safari). In these cases you can use Option-Escape, or just press F5. These two alternatives may take a little longer, but seem to work everywhere.
So now if you can't spell something, you don't have to attempt the whole word, just put in the first few letters and let the system spelling dictionary do the rest.
Kill Accidentally Opened Applications
Do you ever accidentally click the wrong icon when choosing an application from the dock? Normally this wastes valuable seconds waiting for the application to launch and then choose quit. However there is a nice shortcut.
As soon as you have clicked the wrong icon, right click on it, and select force quit. This will allow you to kill it before it slows down your system.
If you aren't quite as quick, and the application has started loading, sometimes the contextual menu will say quit instead of force quit. To get around this, hold the option key, and quit will change back to force quit.
Application and Window Switching
This isn't everything though. Continue to hold down the Command key after releasing tab, and the icons of all your applications appear across the middle of your screen. Press tab again whilst still holding Command and you can cycle through all open applications.
But there's more! Whilst still holding the command key, pressing Q will quit the hilghlighted application, and the list of open applications will remain active. Now you can use tab to move along the list and hitting Q will quit further applications.
Likewise this can be used with H to hide applications, and ~ to cycle through in the reverse direction.
Thats Application switching sorted, but a small development of this is a keyboard shortcut for window switching. This is less known about, and it involves pressing Command-~ (tilde) whilst in an application with multiple windows open. It doesn't bring up the screen display of open windows, but merely cycles through all open ones.
I find these shortcuts are sometimes a faster and easier alternative to the F9 and F10 of Exposé.
Use your Mac in Slow Motion
If you want to see any application do something in slow motion, hold down the shift key and see if it works!
Do things in the background
For example, command-click a link in an email. Safari opens up in the background, without disturrbing your reading, allowing you to go to the page later.
This also extends to moving, closing and resizing windows. If you can see a Finder window behind your iTunes library for example, command-clicking on close, minimize or holding command whilst moving or resizing performs the action without switching to the finder, instead staying within iTunes.
Easy Dictionary Access
To access the dictionary, place the mouse cursor over the word you want to look up., and press Command-Control-D. a small window pops up giving you a quick definition, and you can easily select thesaurus or Morefor more information on a word.
To look up multiple words you can just move the mouse whilst keeping command and control held down (you can release D).
Hidden File
Go to the Finder's Go menu, and select Go to Folder. In the window that appears, type:
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/test/and hit Go. In the window that opens, double-click on the audiotest.au file and voilà!
Preview Multiple Fonts
Do this by double clicking on them in the finder or dragging them to the Font Book icon (in the Applications folder). Font book will open a new window for each one, with a large sample of the font. However these windows will cascade and overlap, so you can only see one at a time.
Using exposé (F10), you can spread out all the windows and preview all the fonts side by side. To install a font, click on its window to bring it to the front, then click install.
Clean up Web Formatting
One way of clearing this up is using the Services menu, if your source application supports this. Start by selecting the text you want to copy, and going to Application Name -> Services -> Summarize. A new window will open and you will see a clean version of your text. Drag the slider to 100% so all your text is included, then copy to the clipboard and paste into your text editor.
An alternative method, for when you are pasting into TextEdit, or if your source application doesn't support the services menu, is use the make plain text option. Paste your text into TextEdit and choose Format -> Make Plain Text (Command-Shift-T). This should strip most of the formatting, and to be on the safe side you can summarize the text as well.

