Archive for October, 2007

How to Invert Screen Colors on a Mac

Want to change the classic colors on your Mac ? Or a website you browse has disturbing and unreadable colors ? Or maybe you just want to show a cool thing about Mac to your friends..

Here is Apple’s built-in “Invert screen” function comes to our help.

Just press Ctrl + Option + Command + 8

Cool isn’t it ?

To get your colors back; repeat the command again.

Hidden Dates in your Mac

Every Mac have some secrets.
This easter egg is about the interesting dates in history like “46,000 meteroids fall over AZ in 20 minutes, 1966″or funny dates like “Frodo & Samwise encounter Shelob (LOTR)” ? Do you want to see the list of all interesting and funny dates ?

Follow these steps

    1. Open Terminal
    2. Paste or write this code
cat /usr/share/calendar/calendar.history

Here is the list..

Changing Screenshot format in Mac OS X

In Mac OS X, the default screenshot format is .png If you want to change the screenshot format, follow these steps.

    1. Open Terminal.
    2. Type this command and press Enter key.

    defaults write com.apple.screencapture type image_format_you_want

    Replace “image_format” with the file type you want. Ex: jpg, tiff, bmp, pict…

    defaults write com.apple.screencapture type jpg

    3. Log out and log in again (from the Apple menu) for the change to take effect.

Taking Screenshots in Mac OS X

Mac OS X comes with built-in capability for capturing screen shots.

Built-in Mac OS X screenshot commands

  • Command + Shift + 3
    Capture entire screen and save it as a file on the desktop.
  • Command + Control + Shift + 3
    Capture entire screen and save it to the clipboard.
  • Command + Shift + 4, then select an area
    Capture dragged area and save it as a file on the desktop.
  • Command + Control + Shift + 4, the select an area
    Capture dragged area and save it to the clipboard.
  • Command + Shift + 4, then Space bar, then click a window
    Capture a window and save it as a file on the desktop.
  • Command + Control + Shift + 4, then Space bar, then click a window
    Capture a window and save it to the clipboard.

This screenshot is taken from the quicksilver’s main window.

To take screenshot of windows, icons… press Command + Shift + 4 and then the Space bar. The cursor will turn into a camera icon. Then hover the camera over the item or window you want to capture and click the mouse.

Taking Screenshots using Grab Utility
Instead of using the keyboard combinations above, screenshots can be taken by using the Grab application included with Mac OS X. It is located at /Applications/Utilities/Grab.

Taking Screenshots From the Terminal
You can use the screencapture command in the terminal.

screencapture -iW ~/Desktop/test.png

If you want to look for more screencapture options, just type screencapture and press enter key in the terminal.

Show hidden files in the Finder

To see all files in the Finder (Mac OS X), “like hidden files starting with . (dot)” follow these steps.

    1. Open “Terminal”

    2. Type this command and press Enter key.

    defaults write com.apple.Finder AppleShowAllFiles YES

    3. You need to restart the Finder to make the command take effect. Hold down the “Option key”, then click and hold on the Finder icon in the Dock. When the menu appears, select “Relaunch”.

    4. Now, you can see all files and folders on in the Finder.

    5. If you want to hide files and change everything back to normal, just open Terminal and repeat the command with changing “YES to NO”, then press Enter key again. And restart the Finder.

    defaults write com.apple.Finder AppleShowAllFiles NO