Making Your Mac Speak from Terminal

Just another cool feature of Mac, simply open Terminal (under the Applications) then type say command and write any text you want.

say I'm cool, because I'm using Mac.

When you press the enter key, your Mac say I’m cool, because I’m using Mac.

Other tricks from Terminal
Tells your Mac’s uptime.

uptime | say

Tells your Processor name, your kernel version ..etc

uname -a | say

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.