按键精灵中如何将一个变量值写入到指定的输入框中?
z1=15z2=60z3=34z4=60z5=40z6=43Fori=1To5MoveTo140,15//第一个输入框坐标LeftDoubleClick2Delay50S...
z1 = 15
z2 = 60
z3 = 34
z4 = 60
z5 = 40
z6 = 43
For i = 1 To 5
MoveTo 140,15 //第一个输入框坐标
LeftDoubleClick 2
Delay 50
SayString ""
Delay 100
SayString z & cstr(i)
//这里始终不对,输入的是1,应该是i=1时,在输入框中输入z1的值15
MoveTo 60,15 //第二个输入框坐标
LeftDoubleClick 2
Delay 50
SayString ""
Delay 100
SayString z & cstr(i + 1)
//这里应该是z2的值 60
next
请各位老师给指点下,谢谢 展开
z2 = 60
z3 = 34
z4 = 60
z5 = 40
z6 = 43
For i = 1 To 5
MoveTo 140,15 //第一个输入框坐标
LeftDoubleClick 2
Delay 50
SayString ""
Delay 100
SayString z & cstr(i)
//这里始终不对,输入的是1,应该是i=1时,在输入框中输入z1的值15
MoveTo 60,15 //第二个输入框坐标
LeftDoubleClick 2
Delay 50
SayString ""
Delay 100
SayString z & cstr(i + 1)
//这里应该是z2的值 60
next
请各位老师给指点下,谢谢 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询