鼠标自定义滑动
<p style="margin-top: 0px; margin-bottom: 0px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;">import pyautogui</p><p style="margin-bottom: 0px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;">pyautogui.click(data['start_x'],data['start_y'],button='left')<br>pyautogui.mouseDown()<br>pyautogui.dragTo(data['end_x'],data['end_y'],duration=1)<br>pyautogui.mouseUp()</p><p style="margin-bottom: 0px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;"><img src="http://talk-cdn.liumatest.cn/ce90401f-1342-426c-9ddc-36aaf46b0002.png" style="max-width:100%;"><br></p>
收藏(0)
分享
相关标签:
注意:本文归作者所有,未经作者允许,不得转载
-
11月7日 10:09
face[good]
0
0