Untitled


SUBMITTED BY: Guest

DATE: May 30, 2015, 3:50 p.m.

FORMAT: Text only

SIZE: 422 Bytes

HITS: 821

  1. #NoTrayIcon
  2. #include<GUIConstants.au3>
  3. GUIcreate("Locker-Outer", @DesktopWidth, @DesktopHeight)
  4. GUICtrlCreateLabel("Press Ctrl-Alt-Del to unlock", 0, 0)
  5. GuiSetState(@SW_SHOW)
  6. While 1
  7. BlockInput(1)
  8. $msg = GUIGetMsg()
  9. If WinExists("Windows Task Manager") Then
  10. BlockInput(0)
  11. Winkill("Windows Task Manager")
  12. Exit 0
  13. EndIf
  14. If $msg = $GUI_EVENT_CLOSE Then ExitLoop
  15. Wend

comments powered by Disqus