Created
October 10, 2012 15:50
-
-
Save regnerjr/3866486 to your computer and use it in GitHub Desktop.
Reload Books24x7 with AppleScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
--trim_line(currentURL, "login.asp", 1) | |
set the URL of the front document to "http://ezproxy.msoe.edu:2091/" | |
end tell | |
--Click Button | |
tell application "Safari" | |
delay 3 | |
do JavaScript "document.getElementsByName('loginform')[0].submit()" in front document | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment