Skip to content

Instantly share code, notes, and snippets.

@wynemo
Last active August 19, 2022 05:31
Show Gist options
  • Save wynemo/1f52bc5140223a3acbda9cc7b8f4e016 to your computer and use it in GitHub Desktop.
Save wynemo/1f52bc5140223a3acbda9cc7b8f4e016 to your computer and use it in GitHub Desktop.
同花顺买519888
import pyautogui
import time
pyautogui.moveTo(134, 1)
pyautogui.click()
pyautogui.hotkey('f1')
pyautogui.moveTo(260, 112)
pyautogui.click()
pyautogui.typewrite('519888')
time.sleep(0.5)
pyautogui.moveTo(278, 201)
pyautogui.click()
pyautogui.typewrite('1000')
pyautogui.hotkey('ctrl', 'b')
pyautogui.hotkey('ctrl', 'y')
import pyautogui
import time
while 1:
pyautogui.moveTo(100, 240)
pyautogui.click()
pyautogui.typewrite('10000')
time.sleep(0.1)
pyautogui.moveTo(100, 308)
pyautogui.click()
time.sleep(0.1)
pyautogui.moveTo(207, 388)
pyautogui.click()
time.sleep(0.1)
pyautogui.moveTo(134, 351)
pyautogui.click()
time.sleep(3.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment