C# Class BuildingCoder.Press

Show file Open project: jeremytammik/the_building_coder_samples Class Usage Examples

Public Methods

Method Description
Keys ( string command ) : void

Post a sequence of keystrokes.

OneKey ( IntPtr handle, char letter ) : void

Post one single keystroke.

Private Methods

Method Description
MapVirtualKey ( uint uCode, uint uMapType ) : uint
PostMessage ( IntPtr hWnd, uint msg, uint wParam, uint lParam ) : bool

Method Details

Keys() public static method

Post a sequence of keystrokes.
public static Keys ( string command ) : void
command string
return void

OneKey() public static method

Post one single keystroke.
public static OneKey ( IntPtr handle, char letter ) : void
handle System.IntPtr
letter char
return void