#include "MouseOnEvent.au3"
$iPaused = False
ToolTip("Paused: " & $iPaused, 0, 0)
_MouseSetOnEvent($MOUSE_WHEELDOWN_EVENT, "PausePlay")
Sleep(10000)
_MouseSetOnEvent($MOUSE_WHEELDOWN_EVENT)
Func PausePlay()
$iPaused = Not $iPaused
ToolTip("Paused: " & $iPaused, 0, 0)
EndFunc ;==>PausePlay