The SendKeys class can be used to send keystrokes to the currently active window


	SendKeys::Send("{F12}");

 

 To specify keys combined with any combination of SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following:

 

   For SHIFT prefix with +
   For CTRL  prefix with ^
   For ALT   prefix with %