Ne000
asked on
Move the mouse to a position and click there, in a game
Hi all... I want to make a small bot only for myself :)
I want to run the program in the background, and use it with short-cuts, while the game is running...
How can I:
- Move the mouse and then click
- Make short-cuts, that the programs respondig, if its not focused
Please help...
Greets Ne000
I want to run the program in the background, and use it with short-cuts, while the game is running...
How can I:
- Move the mouse and then click
- Make short-cuts, that the programs respondig, if its not focused
Please help...
Greets Ne000
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In my opinion is important to convert to ClientToScreen.
ASKER
Sorry, I forgot to give you points :P
Both solutions are good, but ginsonic was the first, so he gets more points... these are the rules :P
Greets Ne000
Both solutions are good, but ginsonic was the first, so he gets more points... these are the rules :P
Greets Ne000
/// The same as above posted by ginsonic but in absolute screen coordinates X and Y: