Sign in to follow this  
Followers 0
Shriram

Regarding object properties in AutoIt v3 Window Info

4 posts in this topic

Hi All,

I am new to AutoIt. Need help in following Issue

Issue : I am trying to automate .Net application where for some buttons & Menu bars, Objects properties ( Like Control Properties)  are same for the whole Menu bar but Menubar is having multiple buttons. As of now in my script i am clicking buttons by Mouse Co ordinations ( Which is not right approach).


What is the other way to progress?

Please help in this issue.


Thanks,
Shriram

Share this post


Link to post
Share on other sites



Have you checked out whether the individual buttons have a separate 'instance' number?

The Help file explains it probably better than I can, about the different elements, like 'instance'.

Check the Controls section of the Using AutoIt section of the Help file.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

As far as I know (I've been dealing with a VB.NET application for a few weeks now) .. it works only partially. AutoIt only supports 'native' Windows controls. However, there is IUIAutomation... '?do=embed' frameborder='0' data-embedContent>>

 

It's complex but it works. Perhaps go over this thread if you want to read about my trials & tribulations with a .NET application and some useful tips I got:

 

'?do=embed' frameborder='0' data-embedContent>>

 

Also, if all else fails, there is useful discussion here:

http://stackoverflow.com/questions/5562559/looking-for-a-gui-automation-framework-that-works-with-net-winforms

Also, make sure you run the AutoIt Window Info Tool as Administrator, or you will miss important information.

Edited by Michiel

Share this post


Link to post
Share on other sites

@TheSaint : Yes i checked, instances are same for all cases.

@ Michiel : I dont have admin rights hence not running tool as administration.  Does it really important?

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