Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. 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)
  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)
  3. tell application "Safari"
  4. activate
  5. 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"
  6. tell application "System Events"
  7. delay 5
  8. keystroke theEmail
  9. keystroke return
  10. delay 2
  11. keystroke myPassword
  12. delay 1
  13. keystroke return
  14. delay 1
  15. keystroke tab
  16. delay 1
  17. keystroke tab
  18. delay 1
  19. keystroke return
  20. end tell
  21.  
  22. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement