按键精灵后台按alt+z的问题
我的脚本PluginA=Window.MousePoint()Pluginhwnd=Window.GetKeyFocusWnd()For1000Delay200Plugi...
我的脚本
Plugin A=Window.MousePoint()
Plugin hwnd = Window.GetKeyFocusWnd()
For 1000
Delay 200
Plugin BGKM5.MMove(A,925,692)
Delay 200
Plugin BGKM5.LDown(A,0,0)
Delay 50
Plugin BGKM5.LUp(A,0,0)
Delay 1000
Plugin BGKM5.MMove(A,837,541)
Delay 200
Plugin Window.SendKeyDown(hwnd,18)
Delay 200
Plugin Window.SendKeyPress(hwnd,90)
Delay 200
Plugin Window.SendKeyPress(hwnd,90)
Delay 200
Plugin Window.SendKeyUp(hwnd,18)
Delay 200
For 500
Delay 50
Plugin BGKM5.LDown(A,0,0)
Delay 50
Plugin BGKM5.LUp(A,0,0)
Delay 50
EndFor
Delay 500
EndFor
前台脚本
Delay 1000
For 1000
Delay 300
MoveTo 925,692
Delay 300
LeftClick 1
Delay 1000
MoveTo 837,541
Delay 300
KeyDown 18,1
Delay 300
KeyPress 90,1
Delay 300
KeyPress 90,1
Delay 300
KeyUp 18,1
Delay 300
LeftClick 500
Delay 300
EndFor
请高手指点怎么实现后台按Alt+z 展开
Plugin A=Window.MousePoint()
Plugin hwnd = Window.GetKeyFocusWnd()
For 1000
Delay 200
Plugin BGKM5.MMove(A,925,692)
Delay 200
Plugin BGKM5.LDown(A,0,0)
Delay 50
Plugin BGKM5.LUp(A,0,0)
Delay 1000
Plugin BGKM5.MMove(A,837,541)
Delay 200
Plugin Window.SendKeyDown(hwnd,18)
Delay 200
Plugin Window.SendKeyPress(hwnd,90)
Delay 200
Plugin Window.SendKeyPress(hwnd,90)
Delay 200
Plugin Window.SendKeyUp(hwnd,18)
Delay 200
For 500
Delay 50
Plugin BGKM5.LDown(A,0,0)
Delay 50
Plugin BGKM5.LUp(A,0,0)
Delay 50
EndFor
Delay 500
EndFor
前台脚本
Delay 1000
For 1000
Delay 300
MoveTo 925,692
Delay 300
LeftClick 1
Delay 1000
MoveTo 837,541
Delay 300
KeyDown 18,1
Delay 300
KeyPress 90,1
Delay 300
KeyPress 90,1
Delay 300
KeyUp 18,1
Delay 300
LeftClick 500
Delay 300
EndFor
请高手指点怎么实现后台按Alt+z 展开
2个回答
展开全部
先按下Alt(不松开),然后按下Z,一起松开
明白了么
明白了么
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Plugin BGKM5.KeyDown(hwnd,18)
Plugin BGKM5.KeyClick(hwnd,90)
Plugin BGKM5.KeyUp(hwnd,118)
这就是alt+Z了
Plugin BGKM5.KeyClick(hwnd,90)
Plugin BGKM5.KeyUp(hwnd,118)
这就是alt+Z了
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询