April 12

Spotlight Shortcuts



Open the Spotlight menu to start a search

Open the Spotlight window

Category: Mac, Technical | Comments Off on Spotlight Shortcuts
April 11

Sleep Shortcut

You can restart, sleep, or shut down your Mac using the commands in the Apple menu, or you can just press
Control-Eject to open a Restart/Shutdown dialog box.

Sleep Shortcut

You can then use a single key to indicate your button choice:

  • R for Restart
  • S for Sleep
  • C (or Esc, or Command-period) for Cancel
  • Return/Enter for Shut Down.

Category: Mac | Comments Off on Sleep Shortcut
April 9

Access the restart, sleep, and shutdown shortcut

You can restart, sleep, or shut down your Mac using the commands in the Apple menu, or you can just press Control-Eject to open a Restart/Shutdown dialog box. You can then use a single key to indicate your button choice:

Category: Mac, Technical | Comments Off on Access the restart, sleep, and shutdown shortcut
April 8

Look inside a Safari Extension

If you have been using any of the new Safari Extensions you might want to peek inside them to see how they work. Fortunately this is really easy because .safariextz files are just xar archives that can be extracted using the Terminal. Here’s how you do it.
Start by downloading the Safari extension. It should come in the form of a file with a .safariextz extension. If you wanted to install the extension to use it in Safari you would just double-click it, but don’t do that now as the file will disappear from your Downloads folder.
Instead open Terminal, located in the Utilities folder inside the Applications folder. In the window that appears, type the following line and then press return.

cd ~/Downloads/
This should be the path to the folder where the .safariextz file is located. You will need to change this if you have saved the extension somewhere else. For example you might use

or

If you are new to using the Terminal, note that starting with

is a shortcut to inside your user folder, and starting with / is for inside your hard drive. The cd command is for changing directory, i.e. ‘moving’ to a folder.
Next paste in the following line and press return.

You need to replace TheExtensionName with the filename of the extension. The quotes around the filename are only really important if it contains spaces. If you want to avoid typing in the name, you can just drag the file into the Terminal window from the Finder and it will be entered for you.
After you press return, a new folder will appear with the same name as the extension. This folder contains all the javascript, plist and HTML files that make up the extension. You can then go to the Extension Builder in Safari and click the plus (+) button to add the extension and edit it.

Category: Mac, Technical | Comments Off on Look inside a Safari Extension
April 3

Mac OS X 10.5: Using iChat with a firewall or NAT router

Port requirements for iChat
By default, iChat on Mac OS X 10.5 attempts to use UDP port 16402 for all audio-video iChat traffic. If port 16402 is not available, iChat will try the next lowest port for the next ten ports, until it finds a port that it can use. So the range of ports that must be enabled in your router or firewall must include 16393-16402.

If none of the ports in that range are available, iChat will make a last-ditch attempt and select a port at random.

Unlike previous versions of iChat, iChat on Mac OS X 10.5 does not require more than one port to be open simultaneously. Once a valid port has been located, all signaling and AV traffic will be transmitted over that port.

If your firewall or router gives you the option of enabling incoming and outgoing ports, you should ensure that the range 16393-16402 is included in both lists. You should also ensure that connections can be made to external hosts on port 5678 for the SNATMAP service. The SNATMAP service, discussed in more detail here, enables iChat clients to communicate with one another, even if they are behind NAT firewalls.

Category: Mac, Technical | Comments Off on Mac OS X 10.5: Using iChat with a firewall or NAT router