Sayz Lim did an excellent tutorial showing off all of the steps, AppleScripts, and other incantations necessary to remotely control your Mac with a combination of Hazel, Keyboard Maestro, and Launch Center Pro. This tutorial takes you through step-by-step so if it sounds intimidating, click anyway.