Jump to content
Sign in to follow this  
kjuenke

Trouble automating check box

Recommended Posts

kjuenke

I have an application that has a check box which is a toggle. Each time it is clicked, it changes state. My problem is I don't know what state it will be in when the application opens and I need to make sure it is checked. Can I do that with AutoIt v3?

Here is the part of my script that deals with the check box....

ControlClick ("VISUAL MRP - Material Requirements Planning", "Log MRP", "Centura:GPCheck4")

Thanks,

Ken

Share this post


Link to post
Share on other sites
kjuenke

you could :

ControlSend  ( "title", "text", "classnameNN", "{NUMPADADD}")

or

ControlCommand ( "title", "text", "classnameNN", "Check", "")

That worked. Thanks !!

Ken

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  

×