DonationCoder.com Software > Post New Requests Here
Execute a launch menu with prior password protection
(1/1)
Contro:
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)
4wd:
EnterScript:
Msgbox, 48, Ah-HA, Congratulations! You've made it!-Contro (June 16, 2012, 05:46 PM)
--- End quote ---
Replace everything below EnterScript: with menuahk.ahk contents.
ie. Delete the Msgbox, 48, Ah-HA, Congratulations! You've made it! and continue with your script.
Contro:
Let's go.
:-*
Best Regards
Contro:
Worksssss Worksssss !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Execute a launch menu with prior password protection Execute a launch menu with prior password protection Execute a launch menu with prior password protection Execute a launch menu with prior password protection
Execute a launch menu with prior password protection
Navigation
[0] Message Index
Go to full version