You can use SendKeys to send any key to an application.