Commit c1f9282c authored by huangziyu's avatar huangziyu

1

parent 414936a9
......@@ -117,6 +117,11 @@ class SlideUtils:
pyautogui.moveTo(x + int(offset * random.randint(17, 21) / 20), y, duration=random.randint(20, 31) / 100)
y += random.randint(2, 5)
pyautogui.moveTo(xx, y, duration=0.8)
print("睡眠1秒后松开")
time.sleep(1)
import math
pyautogui.moveRel(0, random.randint(2, 5), duration=0.3)
print("松开")
pyautogui.mouseUp()
@staticmethod
......@@ -133,10 +138,13 @@ class SlideUtils:
pyautogui.moveTo(x + int(offset * random.randint(15, 23) / 20), y, duration=0.5)
y += random.randint(-9, 0)
pyautogui.moveTo(x + int(offset * random.randint(17, 21) / 20), y, duration=random.randint(20, 31) / 100)
y += random.randint(0, 3)
pyautogui.moveTo(xx, y, duration=1.5)
# print("睡眠2秒后松开")
# time.sleep(0.3)
y += random.randint(0, 2)
pyautogui.moveTo(xx, y, duration=0.5)
print("睡眠1秒后松开")
time.sleep(1)
import math
pyautogui.moveRel(0, y+3, duration=0.3)
print("松开")
pyautogui.mouseUp()
# print(f"睡眠2秒后点击
# time.sleep(2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment