Jump to content
Sign in to follow this  
bordot

Sending mouse clicks to a game without it being selected

Recommended Posts

bordot

Hello,

I was just wondering if there is any way for an AutoIt script to send mouse clicks to specific mouse coordinates inside a game without the game needing to be ontop (able to be in the background or minimized).

Thanks in advance,

Rob

Share this post


Link to post
Share on other sites
omikron48

ControlClick, but it would depend highly on the game itself if it's possible or not.

Share this post


Link to post
Share on other sites
bordot

Is there a way to set the coordinates of ControlClick? Also, it's for an open-source game that allows AutoIt macros for crafting.

Edited by bordot

Share this post


Link to post
Share on other sites
somdcomputerguy

Yes, it is possible to set coords, instructions and example code here - ControlClick.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
adik2dmax666

There is no way you can send mouseclicks to the game if its not active but i have a solution.

WinSetState = @SW_HIDE, WinSetOnTop 1, While 1 WinActivate("$game").

or

use ControlSend, ControlClick

or

use NomadMemory.au3


First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×