脚本代码怎么写( 四 )


KeyArrary = split(SetKeys, "|")
EnterKey = WaitKey()
Select Case int(EnterKey)
Case int(KeyArrary(0))
FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 50
LeftClick 1
End If
ExitScript
Case int(KeyArrary(1))
FindPic 0,0,1024,768,"Attachment:\2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 50
LeftClick 1
End If
ExitScript
Case int(KeyArrary(2))
FindPic 0,0,1024,768,"Attachment:\3.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
Delay 50
LeftClick 1
End If
ExitScript
End Select如上代码该符合你的要求
【脚本代码怎么写】

脚本代码怎么写

文章插图