how can i sendkeys to an application on my desktop?

any ideas guys?