Jump to content

If checkbox is checked then...


Recommended Posts

I'm doing data entry that involves checking a lot of check boxes in a web application. 

I'd like my script to tab through the checkboxes and, if a box is unchecked, check it by sending the spacebar.  The only problem is I don't know how to read if the box is already checked or not.

Any ideas?

EDIT:  I've looked at GUICtrlRead but I'm not sure how to make it work.

Edited by shutch00
Link to comment
Share on other sites

<input type='checkbox' name='checkboxG2Example' value='gameTennis' checked>Tennis<br>

from _IE_Example()

.

"checked" is the keyword

 

Edit:

this is the correct function:

_IEFormElementCheckBoxSelect()

Success: If $f_select = -1, returns the current checked state, else returns 1

Edited by Edano

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

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