btw this is on windows 7, and I have VERY basic knowledge of autoit right now. I've been using it for exactly 4 hours. Anyways, so I'm trying to make a bot that actually PLAYS minesweeper for you. Doesn't win, doesn't edit memory, I just want it to be like an actual player. So I had no idea what to do and this is the first part of my script. I'm pretty sure theres a better way to make the mouse click on a box than pixel colors, but I don't know how. Any suggestions?
WinWaitActive( "Minesweeper" )
Beep(500, 1000)
WinActivate("Minesweeper")
$coord= PixelSearch( 0,0, @DesktopWidth, @DesktopHeight, 0x8FC2F3)
If Not @error Then
MouseClick( "left", $coord[0], $coord[1], 1, 0)
EndIf