INSI

ControlClick TO X,Y

7 posts in this topic

Is there any way to ControlClick to X,Y? info tool dont have a control id. CAN i send a ControlClick to A X,Y? OR any other way to send a CLICK to X,Y with out moving mouse curse? 

Share this post


Link to post
Share on other sites



Try ControlClick($hYourWnd, "", "","left", 1, $iX, $iY)

Share this post


Link to post
Share on other sites

Clicking the wrong position

Share this post


Link to post
Share on other sites

Can you post the values you use?
The help file says: "The x/y position to click within the control". I interpret this as being calculated from the the upper left corner (like in GUICreate)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
On 16/11/2015 at 7:03 PM, water said:

Can you post the values you use?
The help file says: "The x/y position to click within the control". I interpret this as being calculated from the the upper left corner (like in GUICreate)

On 16/11/2015 at 3:33 PM, INSI said:

Clicking the wrong position

same problem 

i use 

ControlClick("title", "", "","right",1,$posx,$posy)

but wrong poision

i use mouseclick then true

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

On 16.11.2015 at 9:33 AM, INSI said:

Clicking the wrong position

than adjust this, the coordinates your case are relative to window.

Edited by AutoBert

Share this post


Link to post
Share on other sites

Hi,

Try to use the Au3Info to look for the control coords within the control window

Just Click and Drag the cursor to the coords that you want and then release.

In the Au3Info Window, go to the Control Tab and look for ControlClick Coords. It should look something like this. 

au3info.png

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