Il y'a forcément un message sur ce problème mais je doit vous avouer que vu le très grand nombre de page à ce sujet je n'ai réussi a trouver les renseignement dont j'ai besoin.
Code : Tout sélectionner
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
For $i = 0 To 1 Step +1
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Createur de perso", 450, 300, -1, -1)
Global $Group1 = GUICtrlCreateGroup("Tools de SkyDrink", 128, 32, 329, 273)
Global $feca = GUICtrlCreateRadio("Radio1", 160, 80, 9, 9)
Global $sacri = GUICtrlCreateRadio("Radio2", 160, 104, 9, 9)
Global $steamer = GUICtrlCreateRadio("Radio5", 160, 176, 9, 9)
Global $Zobal = GUICtrlCreateRadio("Radio6", 336, 80, 9, 9)
Global $iop = GUICtrlCreateRadio("Radio7", 336, 104, 9, 9)
Global $cra = GUICtrlCreateRadio("Radio8", 336, 128, 9, 9)
Global $xelor = GUICtrlCreateRadio("Radio9", 336, 152, 9, 9)
Global $osa = GUICtrlCreateRadio("Radio10", 336, 176, 9, 9)
Global $panda = GUICtrlCreateRadio("Radio11", 336, 200, 9, 9)
Global $roublard = GUICtrlCreateRadio("Radio12", 336, 224, 9, 9)
Global $sadi = GUICtrlCreateRadio("Radio4", 160, 152, 9, 9)
Global $sram = GUICtrlCreateRadio("Radio13", 160, 128, 9, 9)
Global $eni = GUICtrlCreateRadio("Radio3", 160, 200, 9, 9)
Global $enu = GUICtrlCreateRadio("Radio14", 160, 224, 9, 9)
Global $eca = GUICtrlCreateRadio("Radio15", 336, 248, 9, 9)
Global $Go = GUICtrlCreateButton("Go", 416, 272, 25, 17, $WS_GROUP)
Global $pseudo = GUICtrlCreateInput("Nom du personnage", 200, 272, 105, 21)
Global $Label2 = GUICtrlCreateLabel("Feca", 176, 80, 68, 17)
Global $Label3 = GUICtrlCreateLabel("Sram", 176, 128, 68, 17)
Global $Label4 = GUICtrlCreateLabel("Sadi", 176, 152, 68, 17)
Global $Label1 = GUICtrlCreateLabel("Sacri", 176, 104, 68, 17)
Global $Label5 = GUICtrlCreateLabel("Steamer", 176, 176, 68, 17)
Global $Label6 = GUICtrlCreateLabel("Eni", 176, 200, 68, 17)
Global $Label7 = GUICtrlCreateLabel("Enu", 176, 224, 68, 17)
Global $Label8 = GUICtrlCreateLabel("Zobal", 352, 80, 68, 17)
Global $Label9 = GUICtrlCreateLabel("Iop", 352, 104, 68, 17)
Global $Label10 = GUICtrlCreateLabel("Crâ", 352, 128, 66, 17)
Global $Label11 = GUICtrlCreateLabel("Xelor", 352, 152, 66, 17)
Global $Label12 = GUICtrlCreateLabel("Osa", 352, 176, 66, 17)
Global $Label13 = GUICtrlCreateLabel("Panda", 352, 200, 66, 17)
Global $Label14 = GUICtrlCreateLabel("Roublard", 352, 224, 66, 17)
Global $Label15 = GUICtrlCreateLabel("Eca", 352, 248, 66, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $enu
WinWait("Dofus") ;Attend la fenêtre avec le pseudo
WinActivate("Dofus") ;Active la fenêtre
WinMove("Dofus", "", 0, 0, 800, 600) ;Redimentionnement et repositionnement de la fenêtre Dofus
MouseClick("left",193,231,1,1) ;Choisi la classe ici le enu
Sleep(500)
MouseClick("left",114,371,1,1)
Sleep(300)
MouseClick("left",161,339,1,1)
Sleep(250)
MouseClick("left",114,396,1,1)
Sleep(500)
MouseClick("left",227,345,1,1)
Sleep(250)
MouseClick("left",143,348,1,1)
sleep(250)
MouseClick("left",227,345,1,1)
Sleep(250)
MouseClick("left",142,372,1,1)
Sleep(250)
MouseClick("left",227,345,1,1)
Sleep(250)
MouseClick("left",358,507,1,1)
Sleep(500)
Send ($pseudo)
Sleep(500)
MouseClick("left",402,550,1,1)
EndSwitch
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Je suis pas si j'ai était précis sur le problème, vous pouvez me posez les questions qui vous sont floue.




