Terminal Commands for Hidden Settings in Leopard
In general, these will only work with Leopard
For the most part, applications will need restarting before changes take place. For the Dock and the Finder, it isn't obvious how to do this. The easiest way is to type a second command into the Terminal afterwards. Type "killall Dock" followed by return for all the Spaces, Stacks and Dock commands. "killall Finder" followed by return for all the Finder related ones.
Spaces
defaults write com.apple.dock workspaces-edge-delay -float 0.5Changes the delay when dragging windows off the edge of the screen to other spaces. Default value is 0.75.
defaults write com.apple.dock workspaces-wrap-arrows -boolean NODisables the wrap-around when using Control-Arrow keys to changes Spaces. To enable again, repeat with YES at the end.

Stacks
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'Creates a Recent Applications stack in your Dock, that you can change to display other recent items. To remove it, use the command defaults delete com.apple.dock persistent-others but be warned, this will remove all your stacks.

defaults write com.apple.dock mouse-over-hilte-stack -boolean YESAdds a Mouse Over gradient to items in your stacks. To disable, repeat with NO at the end.
Dock
defaults write com.apple.dock no-glass -boolean YESChange to 2D Dock. To change back to 3D, prepeat with NO at the end.
defaults write com.apple.dock tilesize -int 256Allows you to increase the size of the Dock past the maximum allowed by the slider in System Preferences. Don't go larger than 256. Use the slider in System Preferences to shrink the Dock down again.
defaults write com.apple.dock largesize -int 512Allows you to increase the Dock magnification past the maximum allowed by the slider in System Preferences. Don't go larger than 512. Use the slider in System Preferences to shrink the Dock down again.
defaults write com.apple.dock enable-spring-load-actions-on-all-items -boolean YES
Makes all items in the Dock spring loaded. For example, hold a file over an application and it will open or come to the front so you can drop the file onto a specific window. Repeat with NO to reverse.
Finderdefaults write com.apple.finder FXListViewStripes -bool FALSE
Removes the stripes in list view. Repeat the command with TRUE to reverse./System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
Resets the "Open With" menu, clearing duplicates. The command is different from the one in Tiger.defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Changes the title of a window to its full path. Repeat with NO to reverse.
Spotlight
sudo chmod 0 /System/Library/CoreServices/Spotlight.appDisables the Spotlight icon. Type "killall Spotlight" for changes to take effect. To re-enable it, type 755 instead of 0.
Time Machine
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 7200Changes Time Machine's backup interval. Requires an administrator password. Default value is 3600 (seconds).
iCal
defaults write com.apple.iCal IncludeDebugMenu YESEnables the Debug menu in iCal, just like the Safari one. Repeat with NO at the end to disable.
Safari
defaults write com.apple.Safari DebugConfirmTossingUnsubmittedFormText NODisables the warning given when closing a window with text entered into a form that you haven't submitted. To bring back the warning, repeat the command with YES.
Check out this article for more Safari 3 tips.
Menubar
Changing the menubar will require an administrator password and you will need to restart the Mac for changes to take effect.
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1Remove translucency in menubar, turns it white.
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0Removes translucency in menubar, turns it grey.
sudo defaults delete /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables'Reverts back to default translucent menubar.
All Applications
defaults write -g PMPrintingExpandedStateForPrint -bool TRUEApplications use the expanded Print dialog by default. Similar to the expanded Save dialog in earlier OS versions. Repeat with FALSE to reverse.
If you're out to prevent an attack - not the computer type of hacks that are gained via a network, but the type that happen against your home or business, then consider a security system of some sort. Security Cameras these days can even be installed directly onto your computer which allow you to display and capture video or take photo's of all activity whether you're present or away.
Get to grips with the "Open With" menu
Firstly, if the application is in the Dock, you can simply drag the file onto its icon in the Dock. Alternatively you can open up the application first, and choose "Open" form the File Menu. A third method is to use the "Open With" menu. You will find this by right-clicking (Control-clicking) on the file and looking near the top of the contextual menu. Within the Open With submenu you will find every application that can open the file, as well as an "Other" option.

When you use the Open With menu, it is a "this time only" thing. Next time you double-click on the file, it will open with the default application again. To change the default application, bring up the menu as before, but hold down the Option key before choosing the application. The menu should change to "Always Open With".
When you use the Always Open With menu, it is a "this file only" thing. To apply a new default application to all files of that format, you can use the Get Info window located in the File Menu. In the Open With section, set the new application and click the "Change All" button.
To reset all of your files to open with the original default application, you need to delete a certain file. Go to your user folder, and navigate into the Library folder then into the Preferences folder. Find the com.apple.LaunchServices.plist file, and drag it to the Trash. Alternatively, drag it to the Desktop if you think you might change your mind and want to put it back later.
Over time, you may find that the Open With menu gets cluttered with duplicates, older versions or applications you thought you deleted long ago. To get rid of these, you need to use Terminal. Open up Terminal (from Applications/Utilities) and paste the following line:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain userPress return and your Open With menu should have been cleaned up to only include the most current applications.
Disable the Dock icon for any Application
Luckily, if it is a cocoa application, you can hide the Dock icon yourself. To see if it is possible, right-click (Control-click) on the application icon. If "Show Package Contents" is in the menu that appears, you can hide the icon in the Dock.
If this is the case, select "Show Package Contents" and look for the "Info.plist" file inside the Contents folder. Open this file using TextEdit by right-clicking on it and choosing "Open With - Other" from the menu.
In the file, paste the following two lines just after <dict> on the 6th line:
<key>LSUIElement</key><string>1</string>Save the file and close it. For the changes to take effect, you need to move the application to the desktop and them back to its original location (OS X keeps a cache of the file, so you need to trick it into checking it again).
Now when you open the application, no icon will appear in the Dock. I wouldn't recommend doing this with your regular applications like iTunes and Safari as this also has the side-effect of disabling the menu bar. This means that you will have to quit the application using the keyboard shortcut Command-Q. If the application doesn't have any windows, you will have to quit it from Activity Monitor (in Applications/Utilities).
To bring back the Dock icon, simply open up the Info.plist file and remove the lines you added.
If you are too lazy to do this yourself, FoggyNoggin Software has created an application called Dock Dodger that automates the process.
Tips for Safari 3

Merge Windows
Safari 3 now allows you to drag and drop tabs. You can drag a tab off the bar to create a new window or drag it onto an existing window to add it. You can also use this to rearrange the order of your tabs. If you have lots of open windows each with different numbers of tabs, there is an easier way to get them all into one instead of dragging and dropping. In the Window menu you will find the "Merge All Windows" command. This will instantly combine all your open windows into one tabbed window.
Enable Web Inspector
The Web Inspector allows you to easily see how the source code creates the web page. You can inspect various elements of the web page and view their style, metrics and properties. If you select an element in the inspector window, it will briefly be outlined in red on the web page.

To enable the Web Inspector, open up Terminal (located in Applications/Utilities), type the following line and press return:
defaults write com.apple.Safari WebKitDeveloperExtras -bool trueNow quit and re-open Safari. Open a web page and right-click (Control-click) anywhere. You should see a new "Inspect Element" item in the list.
Pie Chart Loader
Normally Safari indicates how far a page has loaded using the address bar as a progress bar. The box gradually fills with colour from left to right. If you want, you can easily change this to the pie chart type indicator that is used in Mail. Again, open up Terminal (in Applications/Utilities), type the following command and press return:
defaults write com.apple.Safari DebugUsePieProgressIndicator -bool trueTo switch back to the old progress bar, simply repeat the above command with false instead of true.
Bookmark all tabs
This new feature obsoletes the tip I wrote last month about bookmarking all tabs in Safari 2. Doing this is now much simpler - you just need togo to the Bookmarks menu. Here you should find an item that says something like "Add bookmark for these 4 tabs...". The default settings creates a bookmark called "Saved Tabs" in the bookmarks bar. This is actually a folder of your tabs, but it has been set to automatically open all the pages in tabs when clicked.

Others
There are loads of other new features in Safari 3 that are well known or don't really require any explanation. For example, the find command now dims the page and highlights the words you searched for, web history now indexes the text content of the page for easier searching, you can reopen the last closed window or the windows from your last session and all text fields are resizable.
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 ""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.
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 Change the Image in the Tile Game Widget
Luckily, changing the image is easy. Start by finding an image in iPhoto or the Finder to replace it. To avoid stretching, go for an image that is roughly square. Now click on the image and hold. While holding down the mouse button, press F12 to load up Dashboard. Now simply drag and drop your image onto the Tile Game.

The great thing about AppleScript is that this can be achieved with a few lines of fairly legible code.

Alternatively, the more adventurous can download the AppleScript to see how it works. Paste the script into Script Editor (in Applications/AppleScript) and click Run. If you can think of any improvements or you notice any mistakes, let me know.
5 Tricks for the Activity and Downloads Windows in Safari
1. Investigate problems
One of the best uses of the Activity window is to check the cause of a problem. If you are browsing a page and it fails to load, or it is taking ages to open, try taking a look in the Activity window. Down the right hand side you will see the size of each item. If an item is still loading this will show you how much has loaded, and if there is a problem you will see "not found" or "timed out".

2. View movies in their own window
Some services (such as YouTube) provide a full screen button, but often you may find yourself having to watch a tiny video embedded in a web page. To get the movie in its own window, use the Activity window. Click the disclosure triangle on the left of the page with your embedded movie in to expand the list of every element in the page.
If you are watching a Quicktime movie, the item you want is probably the biggest one in the list. It may also continue loading after the rest of the page has finished. Look for a file extension of .mov or .mpg. Once you find it, simply double-click on it to open it up in its own window.
If you are watching a flash video that doesn't have a full screen button, you will need to find the .swf file. This is not necessarily the largest file.
3. Download embedded media
When a movie or music file is embedded in a page, it is not always easy to download it. If there was a link to the file, you could just hold the Option key and click it, but what do you do if there isn't?
For Quicktime movies and MP3 files, this is easy. Open up the Activity Window and locate the file. it should be a relatively large file with something like a .mov, .mpg or .mp3 file extension. Once you have found it, simply hold Option and double-click on it. Alternatively, pressing Option-Return will download whatever item is selected in the list.
For flash videos, you will want the .flv file. It's not always obvious which file this is. It should be the largest file on the page, and may still be loading. For YouTube videos, it is called get_video and doesn't have the .flv extension. Double-clicking this file will start it downloading. If the file doesn't have the .flv extension, you will have to add it on after the download has finished. To watch these movies you will need either the Perian Quicktime plugin or a player such as VLC.

4. Paste and drag into Downloads Window
A little known feature of the downloads window is that you can copy and paste an address into it. Say you want to download a movie that you have listed in the Activity window. Simply select it, choose copy (Command-C) and then click on the Downloads window. Now just choose paste (Command-V) and the movie will start downloading. This works with any kind of link or address. One of the best uses for this is if you have a long list of addresses. Simply select them all together and then copy and paste them into the Downloads window. All of the downloads will begin at the same time.
If copying and pasting isn't for you, you can either use the Option-click method, or you can simply drag things into the Downloads window. Drag links, selections, and even pictures onto the Downloads window to download them.
5. Bookmark all tabs
This is a nice trick to bookmark every page you have open at the same time. This is useful if you want to preserve all your open windows when you quit Safari so you can easily open them all up again next time you open Safari.
Start by opening up the Activity window. Collapse all the disclosure triangles so all you see is the titles of each page. Select all (Command-A) and copy the selection to the clipboard (Command-C). Now open up the Bookmarks window (Command-Option-B). Find where you want to keep these bookmarks and then paste (Command-V).
A good place to put them is in a folder on the Bookmarks Bar. Now, next time you open up Safari you can click on the folder in the bar and select "Open in Tabs" from the bottom of the menu. Alternatively, you can use the Auto-Tab method.
This trick is also great for reordering your tabs. Paste them into your bookmarks and them open them up again in the order that you want them.
Remove Quotes in Email Messages
In many email clients (such as Gmail), quotes are shown as a symbol at the start of each line. If the text has been quoted twice, the symbol is repeated.

Now obviously you could click on each line and press delete, but this would take ages if there are multiple quote levels in a long message. The trick to getting rid of this type of quotes is to use the box selection method. To do this, hold Option (Alt) and drag a selection around the quote marks. This makes it so only the quote marks are selected, not the entire line. Annoyingly, this method doesn't work in some applications (such as Firefox). If you find it isn't working, try pasting your message into TextEdit before removing the quotes and then pasting it back into the email.
In the Mac OS X Mail program things are slightly different. Quotes are shown by vertical lines instead. While this may look nicer, it's not quite as obvious how to get rid of them. The answer lies in the Format menu, under Quote Level. From here you can increase or decrease the quote level of the selected text.

If you have multiple quote levels you want to remove it would be quicker to use the keyboard shortcut instead. To decrease the quote level simply select the text and press Command-Option-' (the apostrophe key). Every time you press this, one quote level will disappear, much faster than navigating the Format menu multiple times.

Access hidden Preview features through Automator
One topic that came up in the comments of that tip was Preview's inability to scale and resize images. I explained a trick involving zooming and using the Mac OS X Screen shot tools, but this is far from ideal.

If you have Mac OS X 10.4 Tiger, you will find Automator in your Applications folder. It is an application designed to do repetitive and time consuming tasks for you. You simply create a workflow by dragging and dropping "action" blocks, and then you can set it going whenever you want to perform that action. It's great for doing batch tasks like renaming a long list of files or resizing a large group of images.
If you look in the left hand column, you will find a section titled Preview. Clicking this will bring up a list of Automator actions that you can use. Some are familiar and accessible from the menus in Preview, but some are new.
Let's start with the simplest possible workflow. Say you want to resize an image (or lots of images) to half its size. To do this, drag the Scale Images action over to the right hand side. A dialog box will appear asking if you want the workflow to keep a copy of the original image or not. If you click Add, the workflow will make a copy of your image on the Desktop and resize that instead of the original. Otherwise, it will simply replace the image with its resized version.

The next step is to choose how you want to scale your image. You can set it to a certain width or a percentage of its original size. Once you have chosen, choose Save As from the File menu and give it a name like Resize Images. From the File Format pop-up menu choose Application. The Desktop is a good place to save it.
Now we can try it out. Find an image file and drag it onto the Resize Images icon. A copy of the image at half the size should appear on the Desktop - Preview doesn't even need to open. You can even drag a large selection of photos. If you find yourself using

You can even extend your workflows to make them more like applications. For example, try adding "Ask for Finder Items" (from the Finder section) to the start of the work flow. Now, once you have saved the workflow as an application, when you double-click it to open, it will bring up a dialog, asking you to choose the images that you want to resize.
Also, take a look at the PDF actions that Automator has. Some of these are really useful if you often use PDF documents in Preview.
Reset a Lost OS X Account Password
If you still know the Administrator Password

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.
More Hidden Settings for Google Notifier
Google Notifier is a menu bar item that alerts you when new mail arrives in your Gmail inbox. Back in February I wrote a tip on Google Notifier's hidden features that showed you how to access two hidden settings. Recently, someone at Mac OS X Hints found a third hidden setting in addition to the ones I mentioned in my tip.
All of these settings can be accessed through Google Notifier. Bring down the notifier menu and hold Command and Option while clicking on Preferences. This brings up a hidden settings editor where you can easily edit the notifier preferences file. The three settings are as follows:
1. Change the number of unread messages displayed.
By default, the menu shows the last four unread messages received (or the last three received and an additional "View More" submenu). To change this, enter "MaxMessagesOnMainMenu" in the key field and enter the number of messages you want on the main menu in the value field.
2. Filter messages by label.
If you only want the notifier to fetch mail with a certain label, you can create a filter. To do this, enter "Label" in the key field and enter the name of the label you want to receive in the value field. To receive all mail, leave this field blank.
3. Use a secure connection.
This is the new tip, submitted by an anonymous poster to Mac OS X Hints. It seems that Google Notifier normally transfers your account details and email in the clear so that other people can potentially read it. If you want to use a secure connection instead, enter "SecureAlways" in the key field and "1" in the value field. To reverse this, repeat the process but enter "0" instead of "1" in the value field.
For all of these settings you will need to quit and reload Google Notifier for the changes to take effect.

No tips for 2 weeks
MacTips
iUseApple.com
Mac OS X Hints
Murphy Mac
See you on the 29th of July!
Quickly Jump to Address Bar in Safari
Hey... Is there anyway to keep the URL address highlighted when I start Safari? It would be so much easier rather than having to always keep clicking the address bar when I want to switch sites as soon as I run Safari... Thank you so much!
For example, if you have Google as your home page, when you load up Safari or open a new window the Google home page will load and the search box will be highlighted instead of the address bar. If you type an address and press enter, it will Google search the address rather than just going to it.
So how do you solve this? Well the obvious answer is to stop Safari loading up your home page in new windows. You can do this from the Preferences located in the Safari menu. Under the General tab, set the "New windows open with:" menu to Empty Page.
But what do you do if you want to keep the automatic loading of your home page, or if you want to quickly jump to the address bar when you are already viewing a web page? The answer lies with keyboard shortcuts. As you only use the keyboard when typing in a web address, you don't want to have to move your hands to the mouse and click on the address bar before typing. Instead of doing this, simply hit Command-L before typing the address. You will notice that the address bar automatically highlights, ready for you to type away. The command is actually located in the File menu, as "Open Location..." and conveniently the same keyboard shortcut works in Firefox.
If you don't have any Safari windows open, Command-L will open up an empty window and highlight the address bar. This is similar to the function of Command-N for a new window, but Command-L has the added benefit of opening an empty window, even if you have Safari set to automatically open your home page.
As a bonus tip, hit Command-Option-F to quickly jump to the Google search box in the top right.
5 Ways to Speed up GarageBand

Software Instrument Loops take a much higher toll on your CPU. If you are using a G3 or G4 you might find that GarageBand crashes when you try to play a song with lots of software instruments. Using Real Instruments instead of Software Instruments will help you avoid crashes and make you Mac run faster, especially during playback. To convert, hold the Option key when dragging Software Instrument Loops to the timeline. This will turn the loops into Real Instruments.
2. Optimise for Faster Response. In the Preferences (in the GarageBand menu) click on the MIDI/Audio tab and set the Optimisation to what you find more important. A large buffer size will allow you to have a large number of simultaneous tracks, while a small buffer will give a shorter loading time for playback. This doesn't always give great improvements, as results depend on individual system specifications.


5. Reduce the number of Tracks. While you might not want to delete tracks from your song, you can combine them. Once you have a number of tracks the way you want them in the final song, choose Export to iTunes from the File menu. Delete the tracks in your GarageBand project (you might want to save before you do this). Locate the file you just exported and drag it onto the timeline. This will create a single new track to replace the ones you just deleted. This process also has the benefit of converting the Software Instrument Loops to a recording.
Borderless Quicktime Movies
Murphy Mac has a great screencast about creating Quicktime skins, but luckily it is a lot easier to create a borderless movie. It involves creating an image file and a text file to go with your movie, and then combining all three files into one borderless movie.
The first step is to find the dimensions of your movie. Double-click it to open it in Quicktime and press Command-I or choose "Show Movie Info" from the Window menu. The Movie Info window will show you the "Normal Size" of the movie in pixels. Make a note of this size.
![]()
Next, you will need to create a solid back image that is the same size as your movie. There are lots of ways of doing this, but here's a method that should be available to everyone. Download this image to your hard drive by clicking one the link and then choosing Save As from the File menu. Basically its a really big black rectangle.

The next step is to load up TextEdit and type the following lines:
<?xml version="1.0"?><?quicktime type="application/x-qtskin"?><skin><movie src="movie-name.mov"/><contentregion src="black.png"/><dragregion src="black.png"/></skin>
Obviously it is a bit annoying to have three separate files to achieve this. The good news is that you can combine them into one file, but the bad news is that it requires Quicktime Pro ($30).
If you have Quicktime Pro, you can do this by choosing Save As from the File menu with the borderless movie open. Choose a file name and make sure you save it as a "self-contained movie", not a reference movie. The resulting file will still work fine if you delete the other files or move them about, meaning you can send it in emails or over the internet.

Now why would you want to do this I hear you ask? Honestly, there's no big reason apart from your movie will take up a bit less space and look a whole load cooler!
Export an iPhoto book to movie

Once your book is completed, you can view the slideshow by clicking the play button at the bottom. This will bring up the slideshow options. Make sure the random order check box is unchecked (you don't want your pages appearing in a random order) and choose the amount of time you want each page to appear for. To make the movie more book-like you will probably want to use the "page peel" transition, going left. You might also want to add some background music from your iTunes library.


Instead of going to the slideshow, you will now be prompted to choose a location to save your movie. Give it a name and click export. Now your photo book is saved as a Quicktime movie that you can watch and share.

One year of Mac OS X Tips
The very first tip, on how to Auto-Tab Bookmarks was posted on the 22 June, 2006. Since then I have added 128 articles, giving an average of 2 or 3 tips posted each week.
Here are the top 10 posts in terms of the number of page views they receive. These are the best tips to check out if you are a new reader.
1. Top 15 Terminal Commands for Hidden Mac OS X Settings
2. Hidden File
3. Address Book Tips
4. Peek inside Mac OS X Packages
5. Another Way to Force Quit
6. Multiple Music Libraries in iTunes 7
7. Set a Screen Saver as the Desktop Background
8. Tips for Deleting Stubborn Files
9. The Ultimate Customize Toolbar Shortcut
10. Get useful system stats in the Mac OS X login window
There is a considerable gap in page views between the top 4 and the rest of the tips, due to those tips being picked up on digg.
My favourite tips are not always the ones that end up being the most popular, however. Some other tips that were more enjoyable to write include Seven Simple Safari Shortcuts, Google Notifier's Hidden Features, Secret advanced editing mode in iPhoto and Make the Most of iPod Notes.
As always, for all 128 tips, check out the Tips Archive.
RSS subscription to the blog has been steadily growing, with some huge jumps recently. The daily subscriber count is now over 1000. Here's a graph showing the number of subscribers each day since September 2006.

For Mac OS X Tips updates in your News Reader, subscribe to the RSS feed.
The blog community has also been doing quite well recently. If you want to join in, add me as a Technorati favorite or join the Mac OS X Tips MyBlogLog community.
The Ask a Question page is currently ensuring my inbox is always nice and full. Recently I have been considering adding a forum to the site. This is because many of the questions/answers aren't suitable for the main blog but would be very useful if they were publicly available. It would also mean I wouldn't get asked the same questions over and over again and other people would be able to submit tips more easily. Leave a comment below if you think this is a good or bad idea, or have any other suggestions for the site.
13 things you didn't know about Preview
If a number of images are open in Preview at the same time, you can view a full screen slideshow by choosing Slideshow from the View menu or by pressing Command-Shift-F. Once the Slideshow has started, press I or click the "Index page" button in the toolbar. This make a contact sheet of all the images, with exposé style animation. Shift-click for slow motion as usual.
2. Sort Order in Sidebar
Normally images appear in alphabetical order in the sidebar (although PDFs appear in page order) but you can choose a different sort order by right-clicking on one of the thumbnails. This brings up a contextual menu with path, kind, size, date and keyword sort options. For your own custom order, just drag the images up and down.

3. Quickly Trash Images
While viewing an image in Preview, pressing Command-Delete will move it to the Trash, just as if you had selected its icon in the Finder. This is useful if you want to cycle through a collection of photos using the Up and Down arrows, and press Command-Delete to Trash the unwanted ones. You can also drag the thumbnail from the sidebar to the Trash.

By default, the rotate buttons don't appear in the toolbar when viewing PDFs. To add them, Command-Option-click the Show/Hide toolbar button to bring up the Customise toolbar options. When you click rotate, it will rotate every page in the PDF document. If you Option-Click rotate, only the page you are currently viewing will be rotated.
5. Open a Folder of Images
Dragging a folder onto Preview's icon will cause it to open up every image in the folder. You will have to hold Command-Option while dragging onto the icon to force Preview to accept it. Be careful when doing this with a folder with lots of images in. If you do this with your Pictures folder for example, it will open your entire iPhoto Library. If you are adventurous, have a go at doing this with an application (they are just disguised folders anyway). Strangely, Preview can "open" itself.
6. Use the Scroll Tool with Images
When viewing PDF files, you can access the scroll tool through the View menu. This allows you to drag the images about with a hand rather than using the scroll bars. Unfortunately, this tool is greyed out when viewing anything but PDFs. To use the scroll tool with other formats, hold the Space bar before dragging an image. Additionally, if you Space-Command-click you will zoom in, and if you Space-Command-Option-click you will zoom out.
7. Slideshows Without the Toolbar
When viewing PDFs fullscreen using the slideshow option in the View menu (Command-Shift-F), the toolbar appears at the bottom whenever you move the mouse. To prevent this, double-click anywhere (but not on the toolbar). Now the toolbar will stay hidden until you next click. You can still get its functionality using keyboard shortcuts: Space will Play/Pause and the Left and Right arrows scroll through pages. Pressing A and F will toggle between actual size and fit to screen.
8. Change Annotation Font Size
The annotate tool is available when viewing PDFs. You can have a red oval or a yellow text box. The text is fixed to the System Font, which is Lucida Grande, size 13. To change the size, type
defaults write com.apple.Preview NSSystemFontSize -int 9 into the Terminal (in Applications/Utilities) and press return. The number at the end is the font size (replace with 13 to return to normal). You will need to quit and reopen Preview for changes to take effect.When you click on the PDF in the Spotlight results, it opens up in Preview with the search term highlighted throughout the document. This is pretty useful, however the PDF is actually zoomed in 280 percent. This means you can read the word you searched for pretty easily, but you can't see anything else. To reduce this, start by quitting Preview if it is running and open up Terminal from the Utilities folder in the Applications folder. Type defaults write com.apple.Preview Preview -dict-add PVPDFSpotlightSelectionSize 10 and press return. The 10 at the end corresponds to a 100% zoom level. To return to normal, replace this with 28 (280% zoom). More information here.
10. Image Correction Tools
Preview offers a lightweight alternative to iPhoto's image correction tools. This is accessible from the Tools menu, and offers almost everything iPhoto does. Be warned through, there is no undo option for these changes, so the only way to go back is to revert to the last saved copy.

11. Bookmark Images and PDF pages
This feature was originally designed for long PDF files. If you want to save a certain page for reference or are half way through a long ebook and want a break, you can bookmark the page by pressing Command-D or by choosing Add Bookmark from the Bookmarks menu. Interestingly you can also bookmark images that you use often so you don't need to locate them first.

If you hold the Option key before dragging a selection, a small grey box will appear, telling the size of the selection in pixels. More information here.
13. Tag Images
In Preview you can tag images with keywords that are recognised by Photoshop and Spotlight. To do this, press Command-I and click on the Keywords tab. This "Document Info" window acts like an inspector palette, so you can easily scroll through your images without having to open it again.
Automate Trash Emptying
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.
Customize Sound Sets in Microsoft Entourage
Is there a way to customize your own sounds for incoming emails in Entourage? In OS9, all you had to do was drop .snd files into the system folder and they were accesible from within Entourage. In OSX, it seems like all you can do is assign the standard sound sets. (like the 'new mail' sound etc..)
Microsoft Entourage's Sound Sets are stored in the Microsoft User Data folder located inside your Documents folder. To get there, navigate to: ~/Documents/Microsoft User Data/Entourage Sounds sets. In here should be one file, the default sound set that comes with Microsoft Office.


