Example #1
0
 public static void SendTextNow(string text)
 {
     foreach (char ch in text)
     {
         KeyLowHelper.SendMessage(Memory.WindowHandle, 0x102, (IntPtr)ch, IntPtr.Zero);
     }
 }
Example #2
0
 public static void SendTextNow(String text)
 {
     foreach (char c in text)
     {
         KeyLowHelper.SendMessage(Memory.WindowHandle, KeyLowHelper.WmChar, (IntPtr)c, (IntPtr)0);
     }
 }
Example #3
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);
     }
 }
Example #4
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();
        }
Example #5
0
 private static void RightUp()
 {
     KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0);
     KeyLowHelper.SendMessage(Memory.WindowHandle, 0x205, (IntPtr)0, (IntPtr)0);
     WaitFrameReload();
 }
Example #6
0
 private static void LeftDown()
 {
     KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0);
     KeyLowHelper.SendMessage(Memory.WindowHandle, 0x201, (IntPtr)0, (IntPtr)0);
     WaitFrameReload();
 }
Example #7
0
 public static void MoveMouseToPosHooked(int x, int y)
 {
     MoveTheCursor(x, y);
     KeyLowHelper.SendMessage(Memory.WindowHandle, 0x200, (IntPtr)0, (IntPtr)0);
 }