import pymouse,pykeyboard,os,sys
from pymouse import *
from pykeyboard import PyKeyboard
import time
m = PyMouse()
k = PyKeyboard()
time.sleep(1)
m.move(800,500)
x_dim, y_dim = m.screen_size()
print(x_dim,y_dim)
k.type_string('Hello, World!')
s= "Hello, World!"
a = list(s)
for _ in a:
k.type_string(_)
time.sleep(0.5)
k.tap_key('H')
模拟键盘鼠标
最新推荐文章于 2024-05-25 16:13:45 发布