จากคำสั่งนี้ผมจะแก้ยังไงครับ
Global $GameHD
Func _PSsixLoadH($gtitle)
$GameHD = WinGetHandle($gtitle)
If @error Then
MsgBox(4096, "Error", "ไม่พบหน้าต่างเกม")
Else
Return 1
EndIf
EndFunc
If _PSsixLoadH("Zuma Deluxe") Then WinActivate($GameHD)
If PixelGetColor(730, 619) = 0x343434 Then
Send("1")
EndIf
ผมลองเปลี่ยน send เป็น MouseClick ก็ไม่มีผล -_-
รบกวนหน่อยนะครับ
Global $GameHD
Func _PSsixLoadH($gtitle)
$GameHD = WinGetHandle($gtitle)
If @error Then
MsgBox(4096, "Error", "ไม่พบหน้าต่างเกม")
Else
Return 1
EndIf
EndFunc
If _PSsixLoadH("Zuma Deluxe") Then WinActivate($GameHD)
If PixelGetColor(730, 619) = 0x343434 Then
Send("1")
EndIf
ผมลองเปลี่ยน send เป็น MouseClick ก็ไม่มีผล -_-
รบกวนหน่อยนะครับ