public static void SendTextNow(string text) { foreach (char ch in text) { KeyLowHelper.SendMessage(Memory.WindowHandle, 0x102, (IntPtr)ch, IntPtr.Zero); } }
public static void SendTextNow(String text) { foreach (char c in text) { KeyLowHelper.SendMessage(Memory.WindowHandle, KeyLowHelper.WmChar, (IntPtr)c, (IntPtr)0); } }
public static void SendTextNow(String text) { //byte[] dd = Encoding.UTF8.GetBytes(text); foreach (char c in text) //foreach (byte c in dd) { KeyLowHelper.SendMessage(Memory.WindowHandle, KeyLowHelper.WmChar, (IntPtr)c, (IntPtr)0); } }
public static void MoveMouseToPos(int x, int y) { BlockInput(true); _locked = true; MoveTheCursor(x, y); KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0); WaitFrameReload(); }
private static void RightUp() { KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0); KeyLowHelper.SendMessage(Memory.WindowHandle, 0x205, (IntPtr)0, (IntPtr)0); WaitFrameReload(); }
private static void LeftDown() { KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0); KeyLowHelper.SendMessage(Memory.WindowHandle, 0x201, (IntPtr)0, (IntPtr)0); WaitFrameReload(); }
public static void MoveMouseToPosHooked(int x, int y) { MoveTheCursor(x, y); KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0); }