stinson6016 Posted May 9, 2009 Share Posted May 9, 2009 one of our customers bought a win xp home box to put in their waiting room (doctor's office) and wanted the paitents to only be able to do a web survey on it and nothing else. So I scrapped together something over together for them and did as much as I could to keep people only where they should be. I put a short cut into the startup (the computer is not in the waiting room, just the monitor, keyboard and mouse) so when they start the computer it open MSIE to the home page, the web survey and the only way to exit out , other than pulling the plug is to enter the key code to pull up the password prompt. funny thing the password is the name of the computer running the program (all caps). the program exit key codes are : alt+shift+bs and ctrl+end was changing from one to the other and never took out the other, all the blocked keys (and there are a lot) and the exit keycodes are stored in a sqlite file for easy updating and changing nothing much here but it was one of my first programs, and with the help of this forum Gnatwork Networks Link to comment Share on other sites More sharing options...
Michel Claveau Posted May 11, 2009 Share Posted May 11, 2009 Hi! Interesting. But... On Vista, the first {ctrl}{alt}{del} is intercepted, but no the next. And, on 25 % of my tests, I blocked my computer... @+ Link to comment Share on other sites More sharing options...
crashdemons Posted May 12, 2009 Share Posted May 12, 2009 (edited) Nice except for some reason it opened like 10+ Internet explorer windows. About that: IE7 opens as "Windows Internet Explorer" but then assumes the title of the homepage - forcing your script to open a new one (as WinExists("Internet Explorer") fails) Also, you might create a delay after opening IE for load-time before checking for it's existence. Secondly: I couldn't exit the program or bring up the password window by using the the hotkeys while new windows were countinually being opened and activated. In the end I had to use my controller, which I set up to close windows and kill programs with button presses. However, now my CTRL+ALT+DEL won't work - I'm guessing disableCTRLALTDEL(1) will fix this for me? (the program IS closed) Edit: nope, ctrl+alt+del seems to be dead either way; how do I re-enable it now, since disableCTRLALTDEL($value) won't do it? (Note: Alt+Tab is working fine now, though!) WinXP SP2 (Home) Edited May 12, 2009 by crashdemons My Projects - WindowDarken (Darken except the active window) Yahsmosis Chat Client (Discontinued) StarShooter Game (Red alert! All hands to battlestations!) YMSG Protocol Support (Discontinued) Circular Keyboard and OSK example. (aka Iris KB) Target Screensaver Drive Toolbar Thingy Rollup Pro (Minimize-to-Titlebar & More!) 2D Launcher physics example Ascii Screenshot AutoIt3 Quine Example ("Is a Quine" is a Quine.) USB Lock (Another system keydrive - with a toast.) Link to comment Share on other sites More sharing options...
stinson6016 Posted May 15, 2009 Author Share Posted May 15, 2009 (edited) not tested at all in vista, I would guess that it's not going to work well at all in vista. I did forget to say that if you're playing with it change the $testmode var to True to allow just hitting esc to exit out. It seems that every so often it won't exit out. which for the computer that it's running on is fine as they never close the program or turn off the computer I'll have to add that delay after opening the window before checking that it's open Edited May 15, 2009 by stinson6016 Gnatwork Networks Link to comment Share on other sites More sharing options...
Draygoes Posted May 16, 2009 Share Posted May 16, 2009 This is a nice script. It works well. In my case, it worked a little to well. You said to use my computer name as the password. Well, I tried that, but it didnt close. Wound up having to restart my computer. Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist. Link to comment Share on other sites More sharing options...
stinson6016 Posted May 16, 2009 Author Share Posted May 16, 2009 did you put the caps on for the computer name? you need to enter the computer name in all caps. I like to run it in testmode to hit esc to exit out of it. If any one has any tweeks please let me know Gnatwork Networks Link to comment Share on other sites More sharing options...
FinalVersion Posted May 16, 2009 Share Posted May 16, 2009 Ah, nice but a easy fix for me Since i have the welcome screen off, I could simply ctrl+alt+del, click task manger, end autoit [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] 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