Code : Tout sélectionner
$hWnd = WinGetHandle("Sans titre - Paint")
Sleep(2000)
$handle = ControlGetHandle($hWnd, "", "Afx:d50000:81")
MsgBox(0,"Fin",ControlClick($handle, "", "", "", "", "100", "100"))Ah oui j'ai essayé ça aussi :
Marche pas.
Code : Tout sélectionner
ControlClick("[CLASS:MSPaintApp]", "", "Afx:d50000:81", "","", 100,100)


