Sign in to follow this  
Followers 0
poojabeam

MouseClick on button with text

4 posts in this topic

Hi,

I have buttons like submit sign in apply signout. They are buttons not just links.

I want to click on these buttons by identify the text on it.

Autoitinfo.exe provides many other informations about these buttons. Like visible text or button name etc.

mouse click using Coordinates did not work. I dont know why.

Can any help how to use mouse click api or any other api.

Pooja

Share this post


Link to post
Share on other sites



What application is it?

Isn't it inside web pages?

Post some screenshot/more informations (ClassName of control) ...

OOps my bad I should have briefed about my application.

I have private application which has one icon in Control panel. Interface is same as my computer properties in windows.

I have attached the pic. I want to check the check box and clickmouse on boxes like ok or cancel.

Also need to move to other tabs by name.

Thanks,

Pooja

post-38542-1217574597_thumb.jpg

Share this post


Link to post
Share on other sites

This looks like standard Windows controls so use Au3Info tool to observe ClasNameNN for each desired control.

Then in script use:

ControlCommand() --> IsChecked,Check for checkbox

ControlClick() --> for button

_GUICtrlTab_SetCurSel() --> to select Tab

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