Even though I'm a pretty serious nerd, I've never really gotten into the whole "automate your PC and control it from everywhere" thing. I always assumed it was far more trouble to get working than it was worth. But today, a couple blog posts opened my eyes and made me realize that remotely controlling a Mac or PC can be quite simple. As easy as sending an e-mail, to be exact. Hey, I do that all the time!
If you're an OS X user, you're in luck, for hiding within your Applications folder is a powerful program called Automator. This oft-overlooked gem is able to string together a drag-and-drop, step-by-step list of actions for your computer to take (called a "workflow") and save them as a double-clickable application for running at any time. So, for instance, you could generate a simple Automator application that simply puts your computer to sleep. When teamed with a one-line AppleScript that surprisingly resembles actual English ("tell application "whateveryounamedyourapplication" to run"), Apple's Mail application can, in the process of filtering your messages, launch the Applescript when a message meeting certain criteria is received (i.e., one sent from my address with the subject line "go to sleep"). You're not just limited to putting your machine to sleep, though—Automator comes with a bevy of actions spanning most of OS X's core applications, and you can download even more (including the "Sleep" action) from Apple's Automator site.
On the PC side, Outlook is also capable of launching a program based on attributes from incoming messages, but creating custom apps from a list of automated tasks requires getting your hands a bit dirtier than on the Mac. A helpful guide can be found here. —John Mahoney
Link - Sleep Your Mac Via Email[via Lifehacker]