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 %
 

 

Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published.