poisonkiller Posted September 22, 2005 Share Posted September 22, 2005 So... You can protect your computer or user with this. Password = "autoit".You can change it by changing code, but im working with password changer. expandcollapse popup#include <GUIConstants.au3> #Include <Misc.au3> #NoTrayIcon GUICreate("Password", 1200, 1200) HotkeySet("{Esc}", "captureEsc") HotKeySet("{Enter}", "PressButton") $pass = GUICtrlCreateInput ("", 470, 560, 300, 20, $ES_PASSWORD) $button = GUICtrlCreateButton ("OK", 600, 600, 50, 30) GUISetState () While 1 $msg = GUIGetMsg() If $msg = $button Then if GUICtrlRead($pass) = "autoit" Then MsgBox(0, "Password", "Correct!") Else MsgBox(16, "Error", "Access is denied!Logging out in 3 seconds!", 3) Shutdown(0) endif ExitLoop EndIf If _IsPressed("12", "user32.dll") Then MsgBox(16, "Error!", "Alt key is not allowed!") EndIf If _IsPressed("2E", "user32.dll") Then MsgBox(16, "Error!", "Delete key is not allowed") EndIf If _IsPressed("73", "user32.dll") Then Shutdown(0) EndIf If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend Func captureEsc() MsgBox(16, "Error!", "Escape is not allowed!") EndFunc Func PressButton() $msg = $button EndFunc Link to comment Share on other sites More sharing options...
peethebee Posted September 22, 2005 Share Posted September 22, 2005 Hi! Looks nice for a first view! Keep it up, peethebee p.s. only looked on the code, not tested it yet. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
Ejoc Posted September 22, 2005 Share Posted September 22, 2005 (edited) I didn't run it, but if you right click in your task bar you can open the task manager, and then you should be able to kill the program. Edited September 22, 2005 by Ejoc Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs Link to comment Share on other sites More sharing options...
poisonkiller Posted September 22, 2005 Author Share Posted September 22, 2005 (edited) I have 1 problem. You can close this by pressing very, very fast Alt+F4 and how can i hide program in Task Manager?I have Win98 and i cant see it in Task Manager... How can i fix it? Edited September 22, 2005 by poisonkiller Link to comment Share on other sites More sharing options...
layer Posted September 22, 2005 Share Posted September 22, 2005 #NoTrayIcon FootbaG Link to comment Share on other sites More sharing options...
Nuffilein805 Posted September 22, 2005 Share Posted September 22, 2005 how do you start your prog? autostart? cause if you start it by autostart it's no use at all cause you can just disable it by pressing SHIFT. you should call it as an .dll via registry or something like that maybe it works with exe as well (haven't tried) my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now