Hello guys i have recently ran into some problem about sending key events to a game without it being focused...
i have Googled and found lots of ways to send key input however in my case it didn't work.
however i have found a way to send the keys to the window with it being focused using
AC TOOL(which is written in Delphi) but i want to send the key event during me being out of the window and playing another game.
some bookmarks of the digging i done in Google. and many more i have checked at least up to page 4 or 5 which all turned out to not working. The language of my choice is c/c++/c# because i learn these at languages at uni mostly.
edit if any of them is counted as advertisement mods thanks..Code:http://www.elitepvpers.com/forum/c-c/1649391-how-send-keystrokes-game.html http://forum.gpwiki.org/viewtopic.php?t=3847 http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/ed2358fe-e6f8-4a28-b0ef-0549af609f72 http://www.codeproject.com/Articles/6819/SendKeys-in-C
The game that im trying target is Hero Online. the reason i want this is to make a AFK pet train bot. while
im playing League of legends. the other reason for this is because if you don;t feed your pet after some time
it would run away as in the pet will be gone forever.
Any kind of useful help would be appreciated.
Thanks and stay tuned for my Adobe Flash Game Development tutorials...
im just cropping images and its all going to be in PDF format.