Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WinWaitActive("MyWebSite")
- HotKeySet("{PAUSE}", "Start")
- HotKeySet("!{PAUSE}","Quit")
- TogglePause()
- func Start()
- HotKeySet("{PAUSE}")
- HotKeySet("{PAUSE}", "TogglePause")
- ToolTip('Anti_AwayFromKeyboard started.',0,0)
- While 1
- Send("{F5}")
- ToolTip('Just sent another key stroke!',0,0)
- Sleep(500)
- ToolTip('Waiting for a while...',0,0)
- Sleep(Random(120000,180000))
- WEnd
- EndFunc
- Func TogglePause()
- ToolTip('Anti_AwayFromKeyboard Stopped.',0,0)
- HotKeySet("{PAUSE}")
- HotKeySet("{PAUSE}", "Start")
- While 1
- sleep(100)
- WEnd
- EndFunc
- func Quit()
- Exit
- EndFunc
Add Comment
Please, Sign In to add comment