Created
January 22, 2023 21:33
-
-
Save Ajak58a/af9db9bed1e5cbd4ded82fa45ca1fd2d to your computer and use it in GitHub Desktop.
gmail login
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
#include "Keyboard.h" | |
void typeKey(int key) | |
{ | |
Keyboard.press(key); | |
delay(50); | |
Keyboard.release(key); | |
} | |
void setup() | |
{ | |
Keyboard.begin(); | |
delay(500); | |
Keyboard.press(KEY_LEFT_GUI); | |
Keyboard.press('r'); | |
Keyboard.releaseAll(); | |
delay(3000); | |
Keyboard.print("https://accounts.google.com/AccountChooser/identifier?service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&flowName=GlifWebSignIn&flowEntry=AccountChooser"); | |
typeKey(KEY_RETURN); | |
delay(5000); | |
Keyboard.print("GMAIL-USERNAME"); | |
typeKey(KEY_RETURN); | |
delay(5000); | |
Keyboard.print("GMAIL-PASSWORD"); | |
typeKey(KEY_RETURN); | |
delay(3000); | |
Keyboard.end(); | |
} | |
/* Unused endless loop */ | |
void loop() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment