mraosneha Posted February 12, 2013 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.
Realm Posted February 12, 2013 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.
mraosneha Posted February 13, 2013 Author 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?
Realm Posted February 13, 2013 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.
water Posted February 13, 2013 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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