Sign in to follow this  
Followers 0
koolsip

Object Not Detectable using the Position Parameters of an Object.

4 posts in this topic

Hi,
 
I am trying to automate a .net application. When I am trying to identify an object using the POSITION that is 
 
ControlGetHandle("<WINDOW NAME>","","[REGEXPCLASS:WindowsForms10.STATIC;X:390;Y:231]") , it fails to get the handle on the object where as if I use the SIZE parameters it works fine. 
I cannot use the SIZE parameters as there are other objects which are of same size. Also I cannot use any other identifiers since this object is created at run time and the INSTANCE and ID of the object changes everytime.
 
Any assistance on this would be greatly helpful.
 
Thanks
 
Kishan Kumar
 
 

Share this post


Link to post
Share on other sites



Welcome to AutoIt and the forum!

WindowsForms is pretty hard to automate. Please search the forum for "WindowsForms". I hope you will get some ideas.


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

Thank you... Will do that....

Share this post


Link to post
Share on other sites

Hi,

No luck in this issue.... Please let me know any solution if any of you have found it... I am wondering why it does not get the handle based on position where as it works with size.

Kishan Kumar

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