Sign in to follow this  
Followers 0
harryspier

Automating toolbar clicking

4 posts in this topic

I'm new to AutoIt and am going through the tutorials.

I've gone through the automate notepad example and its clear about opening notepad sending text to it, closing and saving.

But what I'm not clear about is how do I go about automating clicking on the toolbar (the line having "file edit format view help" and its submenus. When I hover the finder tool of "AutoIt Window Info" program over the toolbar of notepad containing "file edit format view help" I don't get any information back. Can someone give me a simple example of automating some clicks of this toolbar and also tell me how I get information about the toolbar such as control names etc.

Thanks,

Harry

Share this post


Link to post
Share on other sites



First off, that is called a Menu bar, a toolbar is used to refer to bars at the top that contain icons.

There is a WinMenuSelectItem function provided specifically to do what you ask.

Share this post


Link to post
Share on other sites

The problem is that when I move the AU3info finder tool over the Menu Bar it doesn't give me any information to identify the controls.

Thanks,

Harry

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