Hi,
Sorry if this is asked before, but I'm having trouble figuring this out (tried already for a couple of hours).
This is what is going on:
Kids make a test with 50 question. These test are checked manually on paper and afterwards need to be put into a website. What needs to be entered on the website is what question they got good and what questions they got wrong. This all needs to be done by hand, meaning you need to click on a radio-button to set it to "answered wrong". This clicking is very annoying because the alignment of the page is bad, some childeren make a lot of mistakes, there are many childeren, etc.
You can also control the webpage with tabs and set the radio-buttons with arrow, so what I want to do is that I enter into a Tktinker textbox:
2
9
12
18
19
20
45
which are the mistakes they made and let the pc do the keystrokes. I got already how to make keystrokes and the Tktinker, but I can't get the rest.
You see, the keystroke module will need this to work good:
{TAB}{TAB}
{RIGHT}
{TAB}{TAB}
{TAB}{TAB}
etc. to 50
Where two tabs means, go to next question and right means that it sets radiobutton.
So I made a script that does a find() on 1 to 50 in the string from the text box, but than it will also take (for example) the 2 from 12 and the 1.
I just can't get the '18' without also getting the '1' and '8', you know what I mean?
Please some help on how to do this. Thanks