From d74f59165c22e546587d4a72d8f5ef2a7c1e37eb Mon Sep 17 00:00:00 2001 From: moku <90577018+moku3u@users.noreply.github.com> Date: Sat, 9 Jul 2022 22:28:58 +0900 Subject: [PATCH] Add files via upload --- fn.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fn.py diff --git a/fn.py b/fn.py new file mode 100644 index 0000000..fe60211 --- /dev/null +++ b/fn.py @@ -0,0 +1,18 @@ +import keyboard +import pyautogui +from tkinter import * +import time + +loop = Tk() + +def process(): + keyboard.press("esc") + time.sleep(0.1) + pyautogui.click(55, 1015) + pyautogui.click(260, 1015) + time.sleep(0.1) + pyautogui.click(260, 1015) + +keyboard.add_hotkey("F1", process) + +loop.mainloop()