Ok, yeah so you've heard it before.. another newb trying autoit.
I've been paying attention and the help file has become my friend. I've also been searching alot on the forums and have learned a bunch.
I'm making a bot for a game I play which will remain unmentioned. I have a gui working where it grabs the mouse coordinates and displays them in a msgbox for me for testing. I then set a button to click the same coordinates when pressed and then a message box pops up to confirm the coordinates again for me. Like I said, just learning and trying to learn by testing. The problem is when I click the button that mimics clicking my coordinates the mouse just goes to the top of the screen. I've set the mousecoordmode to 1 so that it is relative to the screen. The mouseclick function I'm using is below.
Not asking for the code, but can someone point me in the right direction. Is there a mode setting I'm missing? Not sure where to look next.
func testit()
mouseclick("left", $xcapture & "," & $ycapture,1)
msgbox(0,"coordinates:", $xcapture & "," & $ycapture)
EndFunc