Jump to content

Trouble automating check box


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

you could :

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

or

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...