Last active
April 1, 2018 14:34
-
-
Save youandhubris/c9a1c0ec48685d2d819ea11df6bc383f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Safari Login Giphy | |
# Notes | |
# Since layouts change, today this may not apply. Regardless, logic stands still. | |
tell application "Safari" | |
set the URL of the front document to "https://giphy.com/login/" | |
delay 5 | |
tell application "System Events" to keystroke tab | |
tell application "System Events" to keystroke tab | |
# Mail / Username | |
tell application "System Events" to keystroke "******@****.**" | |
tell application "System Events" to keystroke tab | |
# Password | |
tell application "System Events" to keystroke "**************" | |
tell application "System Events" to keystroke tab | |
tell application "System Events" to keystroke return | |
delay 5 | |
set the URL of the front document to "https://giphy.com/logout/" | |
close window 1 | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment