koolsip 0 Posted July 17, 2013 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
water 2,365 Posted July 17, 2013 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 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
koolsip 0 Posted July 17, 2013 Thank you... Will do that.... Share this post Link to post Share on other sites
koolsip 0 Posted July 17, 2013 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