Sign in to follow this  
Followers 0
Arez

Getting Correct Mouse Coordinates In A Game

3 posts in this topic

#1 ·  Posted (edited)

How can you get mouse coordinates when you are in a game?

When I looked at the "WinGetState" in the helpfile I was completely confused.

Can someone tell me of a way to do this?

Also, how would you make the keyboard press the letter "M"?

Thanks

Edited by Arez

Share this post


Link to post
Share on other sites



How can you get mouse coordinates when you are in a game?

When I looked at the "WinGetState" in the helpfile I was completely confused.

Can someone tell me of a way to do this?

Also, how would you make the keyboard press the letter "M"?

Thanks

For the first question

You can use the AutoIt Window Info Tool that comes with AutoIt

For the second

Send("m")



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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  
Followers 0