SendKeys passes the keys to the currently active window and then they are proccessed as if the user typed them. So you can send them to any application, and you can change focuses too.

Chris