[image]30 用按键精灵脚本在手机上用数字键盘依次自动输入数字1~100,求大神帮忙,求解
2个回答
展开全部
//1.模拟按键(keypress)功能实现[输出01~100]
for i=7 to 16//键值7对应0,16对应9
for j=7 to 16
keypress i
keypress j
keypress "," //用逗号分隔
next
next
keypress 8:keypress 7:keypress 7//输出1 0 0
//2.inputtext功能实现
for i=1 to 100
inputtext i
inputtext ","//用逗号分隔
next
//3.手动输入第三方输入法键盘数字键坐标
dim xy=array(数字0的x坐标,数字0的y坐标,1的x,1的y...[省略]...)
for i=0 to 9
for j=0 to 9
tap(xy(i),xy(i))
tap(xy(j),xy(j))
next
next
for i=7 to 16//键值7对应0,16对应9
for j=7 to 16
keypress i
keypress j
keypress "," //用逗号分隔
next
next
keypress 8:keypress 7:keypress 7//输出1 0 0
//2.inputtext功能实现
for i=1 to 100
inputtext i
inputtext ","//用逗号分隔
next
//3.手动输入第三方输入法键盘数字键坐标
dim xy=array(数字0的x坐标,数字0的y坐标,1的x,1的y...[省略]...)
for i=0 to 9
for j=0 to 9
tap(xy(i),xy(i))
tap(xy(j),xy(j))
next
next
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询