求教把按键精灵前台脚本变成后台
RemstartMoveTo679,451LeftClick1dimtimeRembtime=nowRemaIfdatediff("s",time,now)>=25The...
Rem start
MoveTo 679,451
LeftClick 1
dim time
Rem b
time = now
Rem a
If datediff("s", time, now) >= 25 Then
Goto start
Else
FindColorEx 578,627,653,664 ,"06DCDA",0,0.5,intX,intY
If intX > 0 And intY > 0 Then
IfColor 612,477,"C0CFD0",2 Then
Delay 200
MoveTo 776,452
LeftClick 1
Delay 4200
MoveTo 679,451
LeftClick 1
Goto c
End If
End If
Goto a
Rem c
Goto b
End If
这找颜色的脚本我不会弄、求大神 展开
MoveTo 679,451
LeftClick 1
dim time
Rem b
time = now
Rem a
If datediff("s", time, now) >= 25 Then
Goto start
Else
FindColorEx 578,627,653,664 ,"06DCDA",0,0.5,intX,intY
If intX > 0 And intY > 0 Then
IfColor 612,477,"C0CFD0",2 Then
Delay 200
MoveTo 776,452
LeftClick 1
Delay 4200
MoveTo 679,451
LeftClick 1
Goto c
End If
End If
Goto a
Rem c
Goto b
End If
这找颜色的脚本我不会弄、求大神 展开
1个回答
展开全部
代码已经改成后台
但是坐标 句柄值你要自己想办法了
hwnd=句柄
Rem start
Call Plugin.Bkgnd.LeftClick(Hwnd, 679,451)
dim time
Rem b
time = now
Rem a
If datediff("s", time, now) >= 25 Then
Goto start
Else
XY = Plugin.Bkgnd.FindColorEx(Hwnd, 578,627,653,664, "06DCDA", 0, 0.5)
ZB = InStr(XY, "|")
intX = Clng(Left(XY, ZB - 1)): intY = Clng(Right(XY, Len(XY) - ZB))
If intX > 0 And intY > 0 Then
IfColor 612,477,"C0CFD0",2 Then
Delay 200
Call Plugin.Bkgnd.LeftClick(Hwnd, 679,451)
Delay 4200
Call Plugin.Bkgnd.LeftClick(Hwnd, 679,451)
Goto c
End If
End If
Goto a
Rem c
Goto b
End If
AiPPT
2024-09-19 广告
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图...
点击进入详情页
本回答由AiPPT提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询