Hey, thanks for taking to time to write out a script, could I use the controlsend function like this? I saw it mentioned in another thread and this is how I understood I'd use it from the help file,
HotKeySet("{PAUSE}", "Start")
HotKeySet("!{PAUSE}","Quit")
HotKeySet("!{HOME}", "Pause")
WinWaitActive("World of Warcraft")
While 1
Sleep(100)
WEnd
Func Start()
ToolTip('Break started.',0,0)
While 1
controlsend("World of Warcraft", "{SPACE}")
Sleep(Random(120000,240000))
WEnd
EndFunc
Func Pause()
$Paused = NOT $Paused
While $Paused
Sleep(2000)
WEnd
EndFunc
Func Quit()
ToolTip("Ok, exiting...")
Sleep(2000)
Exit
EndFunc
Thanks