n=30 "买的数量"
FindColorEx 0,0,1024,768,"AEBFF0",1,0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX , intY
Delay 500
LeftClick 1
End If
Delay 500
Goto go
Rem go
FindPic 0,0,1024,768,"Attachment:\q.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+60, intY+5
Delay 500
LeftClick 1
End if
Delay 500
Goto o
Rem o
FindPic 0,0,600,600,"Attachment:\124.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+10, intY+10
Delay 500
RightClick n*2
Delay 500
End if