Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;reload to stop pranks
- f12::reload ;or suspend
- ;mousemove
- f1::
- settimer, movehaha,10000
- return
- movehaha:
- Random, rand, 100, 800
- MouseMove, 500, %rand%
- return
- ;random message boxes
- f2::
- settimer, msgboxhaha,10000
- return
- msgboxhaha:
- MsgBox, 4,, Would you like to continue? (press Yes or No)
- IfMsgBox Yes
- {
- MsgBox, 4,, Are you sure you would you like to continue? (press Yes or No)
- IfMsgBox Yes
- {
- goto msgboxhaha
- }
- else
- {
- goto msgboxhaha
- }
- }
- else
- {
- MsgBox, 4,, Are you sure you would you like to continue? (press Yes or No)
- IfMsgBox Yes
- {
- goto msgboxhaha
- }
- else
- {
- goto msgboxhaha
- }
- }
- Return
- ;move windows
- f3::
- settimer, keeponmoving,10000
- Return
- keeponmoving:
- WinGetTitle, Title, A
- ;msgbox, %Title%
- WinMove, %Title%,, 0, 0
- return
- ;random shut down https://www.autohotkey.com/docs/commands/Shutdown.htm
- f4::
- settimer, byebye,10000
- Return
- byebye:
- Shutdown, 5
- Return
- ;random hotstrings
- ::how::hahaha
- ::no::bwabwabwa
- ;open and close programs
- f5::
- settimer, openclose,10000
- return
- openclose:
- run, chrome.exe ;Process, Close, program.exe
- sleep 10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement