mraosneha Posted February 12, 2013 Share Posted February 12, 2013 In a simulation software window, I have functional blocks. All the blocks have the same info (i.e. instance etc.). How do I click on a block of my choice.? (using mouse coordinates is not an option) and Tab doesn't work. Link to comment Share on other sites More sharing options...
Realm Posted February 12, 2013 Share Posted February 12, 2013 Hello mraosneha, You can try the 'AutoIt Window Info' tool that was included with the standard AutoIt download. This tool will help to identify controls by their handles making it more easier to interact with each separate handle. Happy Coding! Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
mraosneha Posted February 13, 2013 Author Share Posted February 13, 2013 using Autoit window info, if I find 2 objects belonging to the same class and instance, how can i click on the one of my choice? Link to comment Share on other sites More sharing options...
Realm Posted February 13, 2013 Share Posted February 13, 2013 mraosneha, Without more information, it is very difficult to assist you. What application are you attempting to automate? What object(s) are you attempting to interact with? What is it that you expect to achieve? and what code have you written thus far? Providing these clues will receive help a lot faster than being so generalized. Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
water Posted February 13, 2013 Share Posted February 13, 2013 The controls have to be different in some respect. How would Windows know which one to process. Give us the output of the AutoIt Window Info tool for two "blocks" and we try to tell you how to access the controls. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now