can anyone tell me how i can paste to a chat window in WOW or Runes of magic?
the following code will paste to the note pad but when i change the handles to a game it won't paste...
thank you for your help
Code:int _tmain(int argc, _TCHAR* argv[]) { HWND cHwndParent = FindWindow(NULL, L"NoName - Notepad"); HWND cHwnd = FindWindowExA(cHwndParent,0, "Edit", NULL); PostMessage(cHwnd, WM_CHAR, 22, 0); return 0; }