Hi!
I’m trying to create a simple script to automate the process of renewing my book loans from our university library (I’m often too lazy to do it by hand and therefore get fined…). I know that this task shouldn’t bee to hard but I’m still not too good with AppleScript and asking the help from you guys Thank you for any help!
Here’s the steps of the renewal process:
-
Open new Safari browser window and open following address:
https://helcat.linneanet.fi/cgi-bin/Pwebrecon.cgi?LANGUAGE=English&DB=local&PAGE=pbLogon&init=1 -
Fill in the three fields on the page with predefined variables x, y, and z.
-
Press “Login” button
Form’s name=“logonpage”
- Select second option (“Renew all…”) from a drop-down menu
Form’s name=“frm”
- Press “Renew items” button
Form’s name=“frm”
-
Log out (you can use direct address: https://helcat.linneanet.fi/cgi-bin/Pwebrecon.cgi?PAGE=LOGOFF )
-
Close the browser window