按键精灵怎么在两个窗口执行同一个脚本 10
代码如下,要后台操作大概五个窗口,希望可以弄好代码直接发上来,谢谢a=0Whilea<80MoveTo129,367RightClick1Delay1MoveTo177,...
代码如下,要后台操作大概五个窗口,希望可以弄好代码直接发上来,谢谢
a = 0
While a<80
MoveTo 129,367
RightClick 1
Delay 1
MoveTo 177,380
LeftClick 1
Delay 1
KeyPress "Num 0", 2
SayString a
Delay 1
KeyPress "Enter", 1
a = a +1
Wend
a = 1
For 16
MoveTo 18,307
LeftDoubleClick 1
Delay 1
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 1
KeyPress "Down", 1
MoveTo 55,366
LeftClick 1
Delay 10
KeyPress "Down", a
a = a + 1
MoveTo 804, 497
RightDown 1
Delay 1
Delay 1
RightClick 1
Delay 1
MoveTo 837, 511
LeftClick 1
Delay 1
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 1
KeyPress "Enter", 1
Next
For 80
i=0
If i=0 Then
MoveTo 18,307
LeftDoubleClick 1
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
KeyPress "Down", 1
MoveTo 55,366
LeftClick 1
Delay 10
a=16
KeyPress "Down", a
MoveTo 804, 497
RightDown 1
Delay 1
RightClick 1
MoveTo 837, 511
LeftClick 1
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 10
KeyPress "Enter", 2
Delay 10
//满足条件,执行下面的脚本
End If
//通过判断表达式的取值,来执行后面的动作或控制
Next 展开
a = 0
While a<80
MoveTo 129,367
RightClick 1
Delay 1
MoveTo 177,380
LeftClick 1
Delay 1
KeyPress "Num 0", 2
SayString a
Delay 1
KeyPress "Enter", 1
a = a +1
Wend
a = 1
For 16
MoveTo 18,307
LeftDoubleClick 1
Delay 1
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 1
KeyPress "Down", 1
MoveTo 55,366
LeftClick 1
Delay 10
KeyPress "Down", a
a = a + 1
MoveTo 804, 497
RightDown 1
Delay 1
Delay 1
RightClick 1
Delay 1
MoveTo 837, 511
LeftClick 1
Delay 1
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 1
KeyPress "Enter", 1
Next
For 80
i=0
If i=0 Then
MoveTo 18,307
LeftDoubleClick 1
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
KeyPress "Down", 1
MoveTo 55,366
LeftClick 1
Delay 10
a=16
KeyPress "Down", a
MoveTo 804, 497
RightDown 1
Delay 1
RightClick 1
MoveTo 837, 511
LeftClick 1
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 10
KeyPress "Enter", 2
Delay 10
//满足条件,执行下面的脚本
End If
//通过判断表达式的取值,来执行后面的动作或控制
Next 展开
展开全部
一个写成后台运行
一个写成前台运行
后台模式需要绑定窗口才能进行
所以需要测试你的程序是哪个绑定模式才能后台操作
——————有意向认识我就看我个人资料!“头像”
一个写成前台运行
后台模式需要绑定窗口才能进行
所以需要测试你的程序是哪个绑定模式才能后台操作
——————有意向认识我就看我个人资料!“头像”
追问
具体怎么做呢?我是新手不是很懂
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
多线程分别绑定启动.你需要用大漠插件
追问
按键自带的不行吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-03-01
展开全部
多线程…
追问
但是详细的不知道怎么写,希望可以帮忙写个现成的代码
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询