ผมเห็นบางคนสามารถใช้ Controlclick กับเกม fifa ได้ แต่ทำไมของผมมันทำไม่ได้มันขึ้นอยู่กับอะไรหรอครับ
ตัวอย่างโค้ด
Global $GameHD
Func _PSsixLoadH($gtitle)
$GameHD = WinGetHandle($gtitle)
If @error Then
MsgBox(4096, "Error", "No")
Else
Return 1
EndIf
EndFunc
_PSsixLoadH("FIFA")
HotKeySet("{ESC}","stop")
While 1
ControlClick ($GameHD, "", "","left",1,680,590)
Sleep(1000)
WEnd
Func stop()
ToolTip('yud',0,0)
Sleep(500)
Exit
EndFunc
ตัวอย่างโค้ด
Global $GameHD
Func _PSsixLoadH($gtitle)
$GameHD = WinGetHandle($gtitle)
If @error Then
MsgBox(4096, "Error", "No")
Else
Return 1
EndIf
EndFunc
_PSsixLoadH("FIFA")
HotKeySet("{ESC}","stop")
While 1
ControlClick ($GameHD, "", "","left",1,680,590)
Sleep(1000)
WEnd
Func stop()
ToolTip('yud',0,0)
Sleep(500)
Exit
EndFunc