in qt can i output text onto anouther window eg inserting a url or something like that with qt and if i can how does it work???through emulators or virtual drives. im only asking this bc im trying to make a simple bot for a game....
in qt can i output text onto anouther window eg inserting a url or something like that with qt and if i can how does it work???through emulators or virtual drives. im only asking this bc im trying to make a simple bot for a game....
Hello friend, use:
Qt Code:
PostMessage(handle, WM_CHAR, 'a', 0); // this send a to handle windowTo copy to clipboard, switch view to plain text mode
Complete with HWND handle:
Qt Code:
#include "windows.h" HWND handle = FindWindow(NULL, L"Tibia"); PostMessage(handle, WM_CHAR, 'u', 0);To copy to clipboard, switch view to plain text mode
Change Tibia for your window name.
Last edited by mizim; 7th August 2012 at 16:20. Reason: updated contents
Bookmarks