Hi
Maybe someone can help me, i am trying to send a keystroke to Wildstar but it will not work, attached some code i use to do this:
Thx MikeCode:[DllImport("user32.dll")] private static extern IntPtr PostMessage(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam); var proc = Process.GetProcessesByName("WildStar32"); GV.WSHandle = proc[0].MainWindowHandle; PostMessage(GV.WSHandle, 0x100, (IntPtr)Keys.D1, IntPtr.Zero); PostMessage(GV.WSHandle, 0x101, (IntPtr)Keys.D1, IntPtr.Zero);