Execute a launch menu with prior password protection
I have found a little piece of soft to protect a procedure. But I don't know where to put my menu soft : menuak.ahk
the piece is this :
#SingleInstance Ignore
SetBatchLines, -1
Menu, Tray, NoStandard
Menu, Tray, Add, Exit, GuiClose
Menu, Tray, Default, Exit
InputBox, uName, User`?, Enter your USERNAME!
If uName = Hotdog
InputBox, uPass, Pass`?, Enter your PASSWORD!, HIDE
Else
{
Msgbox, 48, LOL, Wrong guess`, oh foolish mortal!
Goto, GuiClose
}
If uPass = Bun
Goto, EnterScript
Else
Msgbox, 48, LOL, Geez`, you just can't win!
GuiClose:
ExitApp
Return
EnterScript:
Msgbox, 48, Ah-HA, Congratulations! You've made it!
Where can I put to run my menuak.ahk ?¿?¿
Best Regards
P.D. Any other piece of source code more powerful is welcome (by example giving me 3 tries, or more complex interaction)