36 lines
513 B
Python
36 lines
513 B
Python
import pyautogui
|
|
|
|
a = {
|
|
"Type": 1,
|
|
"Index": 0,
|
|
"DataNum": 1,
|
|
"PointNum": 4,
|
|
"Check": 38,
|
|
"Point": [
|
|
{
|
|
"x": 100,
|
|
"y": 100
|
|
},
|
|
{
|
|
"x": 100,
|
|
"y": 100
|
|
},
|
|
{
|
|
"x": 100,
|
|
"y": 100
|
|
},
|
|
{
|
|
"x": 100,
|
|
"y": 100
|
|
}
|
|
]
|
|
}
|
|
|
|
|
|
def click_it(x, y):
|
|
pyautogui.moveTo(x, y)
|
|
pyautogui.click(x, y)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
click_it(100, 100) |