shutch00 Posted July 26, 2013 Share Posted July 26, 2013 (edited) 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 July 26, 2013 by shutch00 Link to comment Share on other sites More sharing options...
Edano Posted July 26, 2013 Share Posted July 26, 2013 (edited) is it a website in html ? then you can try _IEFormElementGetValue() Edited July 26, 2013 by Edano [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font] Link to comment Share on other sites More sharing options...
shutch00 Posted July 26, 2013 Author Share Posted July 26, 2013 Ah, I'll try that. It's html and javascript. Link to comment Share on other sites More sharing options...
Edano Posted July 26, 2013 Share Posted July 26, 2013 (edited) <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 July 26, 2013 by Edano [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font] Link to comment Share on other sites More sharing options...
shutch00 Posted July 26, 2013 Author Share Posted July 26, 2013 Thanks for the help. I'll have to research as I'm not real familiar with the IE functions and how they work. Link to comment Share on other sites More sharing options...
Edano Posted July 26, 2013 Share Posted July 26, 2013 yes sure, that's a different world, but much better than sending "spacebars" shutch00 1 [color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now