Interacting with a web page, searching, drop-downs, buttons
Posted: Fri Sep 07, 2018 6:40 am
Greetings all,
I'm new to Lisp, but reading through 'Land of Lisp', and 'Practical Common Lisp'.
I teach art at a high school and we take attendance everyday. It's a pain and all mouse-based navigation.
I'd like to write a function like this:
CL_USER>(absent '(AB_CD_EF...)) ;;;where the letters are the first and last initial of the student
The web page displays the student's name and then a drop-down box next to it with multiple options (e.g., absent, field trip, etc---absent is the 2nd(?) option. The first is a blank.).
I'd like to find the element/student's name, move to the box closest to it, hit either 'a' or change the drop-down to the second option, then send a 'tab' to be ready to loop to the next student.
I've checked out DRAKMA, Parenscript, Javascript, the DOM Object Model and generally tried to find POST/GET commands that I might use. But it's all still a bit Greek to me.
Any direction for further research would be great. Thanks.
----
Web page

HTML Dev Tool view (limited)

I'm new to Lisp, but reading through 'Land of Lisp', and 'Practical Common Lisp'.
I teach art at a high school and we take attendance everyday. It's a pain and all mouse-based navigation.
I'd like to write a function like this:
CL_USER>(absent '(AB_CD_EF...)) ;;;where the letters are the first and last initial of the student
The web page displays the student's name and then a drop-down box next to it with multiple options (e.g., absent, field trip, etc---absent is the 2nd(?) option. The first is a blank.).
I'd like to find the element/student's name, move to the box closest to it, hit either 'a' or change the drop-down to the second option, then send a 'tab' to be ready to loop to the next student.
I've checked out DRAKMA, Parenscript, Javascript, the DOM Object Model and generally tried to find POST/GET commands that I might use. But it's all still a bit Greek to me.
Any direction for further research would be great. Thanks.
----
Web page
HTML Dev Tool view (limited)