public static void press_key(char char_0) { byte num = MockInput.getkeycode(char_0); MockInput.keybd_event(num, 0, 0, 0); MockInput.keybd_event(num, 0, MockInput.KEYEVENTF_KEYUP, 0); }
public static void Multi_Ctrl_Any(byte byte_0) { MockInput.keybd_event(17, 0, 0, 0); MockInput.keybd_event(byte_0, 0, 0, 0); MockInput.keybd_event(17, 0, MockInput.KEYEVENTF_KEYUP, 0); MockInput.keybd_event(byte_0, 0, MockInput.KEYEVENTF_KEYUP, 0); }
public static void Key_Enter() { MockInput.keybd_event(13, 0, 0, 0); MockInput.keybd_event(13, 0, MockInput.KEYEVENTF_KEYUP, 0); }
public static void Key_ESC() { MockInput.keybd_event(27, 0, 0, 0); MockInput.keybd_event(27, 0, MockInput.KEYEVENTF_KEYUP, 0); }
public static void Key_BackSpace() { MockInput.keybd_event(8, 0, 0, 0); MockInput.keybd_event(8, 0, MockInput.KEYEVENTF_KEYUP, 0); }