Je suis nouveau et j'ai un problème :
J'ai créer un script pour ouvrir Call of Duty Black Ops mais les Button ne marche pas avec ma souris
comment faire pour que mes Button marche avec ma souris
Voici mon script si il y en a besoin :
Code : Tout sélectionner
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Call of Duty Black Ops", 615, 438, 192, 124)
$Pic1 = GUICtrlCreatePic("C:\Users\leo\Pictures\162205-call-of-duty-black-ops.jpg", 0, 0, 612, 436)
$Button1 = GUICtrlCreateButton("Go", 216, 136, 161, 65)
$Button2 = GUICtrlCreateButton("Exit", 240, 208, 113, 57)
$Label1 = GUICtrlCreateLabel(" Call of Duty Black Ops", 504, 0, 110, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Exit
Case $Button1
ShellExecute("C:\Users\leo\Desktop\Call of Duty Black Ops - Multiplayer.url")
Exit
EndSwitch
WEndTheG4ME


