Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set theEmail to text returned of (display dialog "Enter your E-mail" with title "Facebook Sign In" default answer "" buttons {"Cancel", "Next"} default button 2)
- set myPassword to text returned of (display dialog "Enter your Password" with title "Facebook Sign In" default answer "" buttons {"Cancel", "Log In"} default button 2)
- tell application "Safari"
- activate
- open location "https://accounts.google.com/signin/v2/identifier?service=accountsettings&hl=en-US&continue=https%3A%2F%2Fmyaccount.google.com%2Fintro&csig=AF-SEnYE_c2HHo9xJAI3%3A1571001906&flowName=GlifWebSignIn&flowEntry=ServiceLogin"
- tell application "System Events"
- delay 5
- keystroke theEmail
- keystroke return
- delay 2
- keystroke myPassword
- delay 1
- keystroke return
- delay 1
- keystroke tab
- delay 1
- keystroke tab
- delay 1
- keystroke return
- end tell
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement