반응형
import cv2
import pyautogui
import time
x, y = pyautogui.locateCenterOnScreen('1.png', confidence= 0.9)
pyautogui.click(x, y)
time.sleep(2)
pyautogui.hotkey('alt','d')
time.sleep(1)
pyautogui.typewrite('http://*')
time.sleep(0.5)
pyautogui.press('enter')
time.sleep(1)
pyautogui.press('tab')
pyautogui.typewrite('*')
time.sleep(0.5)
pyautogui.press('enter')
반응형