I have a ahk script which periodically presses buttons in a game. I used send, but this only works if the window is active of course.
After I tried with ControlSend the keys are only sended to the ingame chat but the function is not used. For example "1" is only written in the games chat but the function of 1 is not used. So the script is working but the game is to old or the hackshield is blocking the hotkeys function. The same happens, when I tried using PostMessage.
So it is only working with Send or SendInput, but this only works if the window is active, but unfortunately I want to do other things and want to run it in the background. I have also tried most of the "simpler" advices from this thread:
but they dont helped in my case.
I have heard that accessing the memory can help to make it work but I dont know how it works. Maybe someone can explain in simple way to me how to send my key 1 for example every few seconds to the window using the memory.
Otherwise I can think of running the window active on an other user or virtual engine something like that, I hope someone has some ideas to help me with this case. Because obviously the script is not that complicated, I only want to run it in the background for specific window.
Ask gaming related questions
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests