#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.6.1
 Author:         Caedo Executo

 Script Function:
	A Game with Tooltips

#ce ----------------------------------------------------------------------------

$time = 0
$rounds = 0

HotKeySet("{esc}", "Quit")

Do
	$x = Random(0, @DesktopWidth, 1)
	$y = Random(0, @DesktopHeight, 1)
	ToolTip("Move Mouse to here!", $x, $y)
	$rounds+=1
	Do
		Sleep(1)
		$time += 1
	Until $x = MouseGetPos(0) And $y = MouseGetPos(1)
Until False

Func Quit()
	MsgBox(0, "Info", "Du hast durchschnittlich pro Tooltip Rund " & Round($time / $rounds) & " Millisekunden gebraucht.")
	Exit
EndFunc