Jump to content
Sign in to follow this  
alienkillaz

begginer question

Recommended Posts

alienkillaz

hey all, new to the forum and had a quick question

when i do

winActivate("untitled - paint")

im using the au3_spy.exe program to see where my mouse position is, but when i try to set it to click on things it clicks using my desktop size rather then the window i am working in.

i need to be abe to set:

MouseClick("left", 496, 491, 1)

to be relevant to the window im working in and not my desktop

Edited by alienkillaz

Share this post


Link to post
Share on other sites
Nova

Its in the help file under autoitsetoption its called MouseCoordMode

Heres how u use it, this goes ontop of ur script

Opt("MouseCoordMode", 0)

enjoy :idiot:

Edited by nova

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  

×