Last active
February 2, 2020 04:08
-
-
Save sksq96/9c94d858fcd04f23e00111cbdb7bdcdf to your computer and use it in GitHub Desktop.
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
import pyautogui | |
import pyperclip | |
from time import sleep | |
import sys | |
message = f"""Hello | |
I'm in search of fulltime opportunity at {sys.argv[1]}, could refer me, or pass along my CV to a recruiter? | |
I'm a graduate student at NYU, currently working at the intersection of Reinforcement Learning and Natural Language Processing, under the supervision of Prof. Yann LeCun. | |
Regards | |
Shubham""" | |
# message = f"""Hello, | |
# I’m a graduate student at New York University currently looking for a full-time opportunity. I work with Prof Rajesh Ranganath in unsupervised representation learning and variational inference for language. | |
# Would it be possible to refer me or pass my resume to a recruiter? | |
# Divya Joseph""" | |
pyperclip.copy(message) | |
t = 2 | |
print(f"Starting the script, you have {t} seconds.") | |
sleep(t) | |
# for i in range(int(sys.argv[1])): | |
# pyautogui.click(129, 1052) | |
X = [648, 848, 1076, 1295] | |
# X = [648] | |
Y = [420, 722, 1022] | |
# Y = [420] | |
for y in Y: | |
for x in X: | |
# connect | |
# pyautogui.moveTo(x, y, 0.1, pyautogui.easeOutQuad) | |
pyautogui.click(x=x, y=y) | |
# add note | |
# pyautogui.moveTo(899, 311, 1, pyautogui.easeOutQuad) | |
pyautogui.click(x=899, y=311) | |
# add text the invitation boxa | |
# pyautogui.click(x=646, y=318) | |
# pyautogui.hotkey('ctrl', 'v') | |
# pyautogui.keyDown('ctrl') | |
# pyautogui.press('v') | |
# pyautogui.keyUp('ctrl') | |
# pyautogui.typewrite(message, interval=0) | |
pyautogui.moveTo(x=1019, y=427) | |
# send invitation | |
# pyautogui.click(x=1011, y=563) | |
# sleep(1) | |
# random click | |
# pyautogui.click(x=1491, y=478) | |
sleep(1.6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment