Advertisement
tabnation

password hide windows

Apr 15th, 2021
197
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mypassword=12345
  2.  
  3. f1::
  4. toggle:= !toggle
  5. If (toggle = 1)
  6. {
  7. WinGetTitle, Title, A
  8. WinSet, Transparent, 0, %Title%
  9. Return
  10. }
  11. Else
  12. {
  13. InputBox, passwordcheck, Enter Password, What is your PW?
  14. If passwordcheck =%mypassword%
  15. {
  16. WinSet, Transparent, off, %Title%
  17. WinMaximize, %Title%
  18. Title=
  19. }
  20. Else
  21. {
  22. msgbox, Nope try again!
  23. }
  24. }
  25. Return
  26.  
  27. f2::
  28. InputBox, passwordcheck, Enter Password, What is your old PW?
  29. If passwordcheck=%mypassword%
  30. {
  31. InputBox, mypassword, Enter Password, What is your New PW?
  32. Return
  33. }
  34. Else
  35. {
  36. msgbox, You got that wrong try again pal!
  37. }
  38. Return
Advertisement
RAW Paste Data Copied
Advertisement