silentdeath
Programmer
I'm starting vb script and Ive been jotting down ideas, 1 that cought my eye was the idea of a little password program.
i was thinking of it being like
and i would put it in my start up folder
so...any help? (sorry if its crowded or the commands are wrong but im starting on vbscript)
i was thinking of it being like
Code:
wscript.echo "enter your safelock password"
'(this is the part i couldnt quite get)
'it will prompt you for a password in a text box and if you get it right it will 'display
If orange
then
wscript.echo "Granted!"
else
'it will shut down with something like this
Set wshshell = wscript.CreateObject("WScript.Shell")
Wshshell.run "cmd"
wshshell.sendkeys "shutdown -s -t 5"
wscript.sleep 100
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys"{ENTER}"
and i would put it in my start up folder
so...any help? (sorry if its crowded or the commands are wrong but im starting on vbscript)