Jump to content

check all boxes in a table


Recommended Posts

Is it your own AutoIt Gui? Then use an array to hold checkbox-id instead of unique names. So you can set state in an loop.

Well, it's not my own GUI.

When I studied help,

; *******************************************************

; Example 1 - Open a browser with the form example, get reference to form, select and

; deselect the checkboxes byValue. Since $s_Name is not specified, operate

; on the collection of all <input type=checkbox> elements in the form

; Note: You will likely need to scroll down on the page to see the changes

; *******************************************************

It seems that _IEFormElementCheckboxSelect is able to operate on all available checkboxes? But when I read along the example codes, I got confused because the example in the Help document does pass some arguments to _IEFormElementCheckboxSelect.

At any rate, the attempt of :

_IEFormElementCheckboxSelect ($oForm, "", "", 1, "byValue")

failed and nothing can be checked. Any idea?

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...