Sign in to follow this  
Followers 0
venkatb

How to check a "checkBox" in a WINDOWs window

5 posts in this topic

Please give me a clue as... How to check a "checkBox" in a WINDOWs window

Share this post


Link to post
Share on other sites



Step 1) Look at the helpfile

Step 2) Look at ControlCommand....

Cheers,

Brett

But friend...I was trying to use ControlClick for which i need ControlID and the controlID of a WINDOWs window is changing each time the window is opened. So i could not program a fixed controlID. ...

Share this post


Link to post
Share on other sites

Using the AutoIt Window Info Tool you can move your mouse around the window you are interested in and you will be given information of the control that is currently under your mouse.

A special description can be used as the controlID parameter used in most of the Control...() functions . This description can be used to identify a control by the following properties:

ID - The internal control ID. The Control ID is the internal numeric identifier that windows gives to each control. It is generally the best method of identifying controls. In addition to the AutoIt Window Info Tool, other applications such as screenreaders for the blind and Microsoft tools/APIs may allow you to get this Control ID

TEXT - The text on a control, for example "&Next" on a button

CLASS - The internal control classname such as "Edit" or "Button"

CLASSNN - The ClassnameNN value as used in previous versions of AutoIt, such as "Edit1"

REGEXPCLASS - Control classname using a regular expression

X \ Y \ W \ H - The position and size of a control.

INSTANCE - The 1-based instance when all given properties match.

Share this post


Link to post
Share on other sites

Thank You very much friend...Your explonation helped me...and i have some windows (not standard WINDOWs windows) for which AUTOIT INFO TOOL is not giving any data about controls...But i have program the controls not using the mouse click options...please suggest some ideas..

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