Jump to content
Sign in to follow this  

begginer question

Recommended Posts


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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.