Sign in to follow this  
Followers 0
mraosneha

How do I select/click on one out of many items when all of them come under the same instance?

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.  

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.  

Share this post


Link to post
Share on other sites

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 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

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