Advertisement
anonymous1184

block()

Oct 28th, 2021
857
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. block()
  3. {
  4.     Suspend On
  5.     BlockInput On
  6.     SetTimer blockOff, 1000
  7.     OSD("Input Blocked", 10)
  8. }
  9.  
  10. blockOff()
  11. {
  12.     WinGetClass wClass, A
  13.     if (wClass)
  14.         return
  15.     Suspend Off
  16.     BlockInput Off
  17.     SetTimer ,, Delete
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement