Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if GetKeyState("ScrollLock", "P" = 1) ; if scrolllock is being pressed("P") is true in this argument(=1) then enable 4 functions
- 1::Run taskmgr ;Opens up task manager when scrolllock + 1 is pressed
- 2::DllCall("user32.dll\LockWorkStation") ;Locks station when scrolllock + 2 is pressed
- 3::shutdown -l -t 00 ;Logs out when scrolllock + 3 is pressed
- 4::shutdown, 9 ;Shuts down when scrolllock + 4 is pressed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement