Jump to content
Sign in to follow this  
SmOke_N

Control Click x & y Cooridnates

Recommended Posts

SmOke_N

Hey all, I have a script that works w/ mouseclick fine ( a bit tedious in the speed no matter what i set it to).

I really like the ControlClick option, unfortuanately the positions that I need to click do not have a Control ID, ClassNN, or Text that is visible in AutoInfo :D .

So, is there a way to set a variable with the x and y cooridnates and use the ControlClick option this way?

$Button = "what would i put here if anything?"
ControlClick("windowname", "", $Button,)

Just Curious :)

Thanks

Ron


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
MHz

Control* functions, work with Controls. ControlClick cannot do x,y co-ordinates.

Share this post


Link to post
Share on other sites
SmOke_N

Well there you go then, just color me an idiot. Thx MHz, never know could be a loop around that someone came up with unless you ask.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
SmOke_N

Very Nice indeed: I guess it's true that you never know till you ask.

Thanks Slim/Larry!

Thank you too MHz for the reply.

Ron


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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.