Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mypassword=12345
- f1::
- toggle:= !toggle
- If (toggle = 1)
- {
- WinGetTitle, Title, A
- WinSet, Transparent, 0, %Title%
- Return
- }
- Else
- {
- InputBox, passwordcheck, Enter Password, What is your PW?
- If passwordcheck =%mypassword%
- {
- WinSet, Transparent, off, %Title%
- WinMaximize, %Title%
- Title=
- }
- Else
- {
- msgbox, Nope try again!
- }
- }
- Return
- f2::
- InputBox, passwordcheck, Enter Password, What is your old PW?
- If passwordcheck=%mypassword%
- {
- InputBox, mypassword, Enter Password, What is your New PW?
- Return
- }
- Else
- {
- msgbox, You got that wrong try again pal!
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement