Crome_BAD Posted February 19, 2005 Share Posted February 19, 2005 Hey guys, ive been messing with a little program to block all IE pages from opening on my mothers cp, b/c stepdad and brother have a tendency to use HER cp when shes at work, lol. My question is, is there a to NOT show the process in processlist? I dont want them to CTRL + ALT + DEL to close the process.... Any Ideas? Crome Link to comment Share on other sites More sharing options...
Encryption Posted February 19, 2005 Share Posted February 19, 2005 (edited) you could do a while loop that does #notrayicon ; to make sure they dont pause the script While 1 If ProcessExists(ProcessHereforIE) Then ProcessExit(IEProcess) - Wrong function, but you get the picture, its in the help file somewhere EndIf WEnd EDIT: I just realized, I didn't answer your question, but this should work. I don't think they would find the process if you named it something clevor like Win32UpKeep.exe or something that sounds professional Edited February 19, 2005 by Encryption Link to comment Share on other sites More sharing options...
Crome_BAD Posted February 19, 2005 Author Share Posted February 19, 2005 Hmmmmm i dont understand all that well, lol im trying to. If i can get it so that cannot close the program via CTRL ALT DELETE, it will be great. Link to comment Share on other sites More sharing options...
Encryption Posted February 19, 2005 Share Posted February 19, 2005 Hmmmmm i dont understand all that well, lol im trying to. If i can get it so that cannot close the program via CTRL ALT DELETE, it will be great.<{POST_SNAPBACK}>I dont think that is possible, but I could be wrong. Link to comment Share on other sites More sharing options...
Crome_BAD Posted February 19, 2005 Author Share Posted February 19, 2005 Hmmmm kk, thank you. Ill mess around and post back wat i figure out. Crome Link to comment Share on other sites More sharing options...
phillip123adams Posted February 19, 2005 Share Posted February 19, 2005 My question is, is there a to NOT show the process in processlist? I dont want them to CTRL + ALT + DEL to close the process....Any Ideas?<{POST_SNAPBACK}>How about this. Revise the hot keys and the processes it monitors to suit yourselfexpandcollapse popup; Note: Give this script a name that would disguise itself if another scritp ; is used to review the list of processes (e.g. Directdcr.au3), and compile it. ; To stop this script, quickly press F9, then F6 and finally F4. ; Hesitate too long and the sequence resets. A quick message and ; a beep occur when successful. HotKeySet("{F9}", "_Stop1") opt("TrayIconHide", 1) opt("WinTitleMatchMode", 2) ; Acknowledge start up DllCall ("user32.dll", "int", "MessageBeep", "int", 0x33333333) SplashTextOn("Activating Security", "Security has been activated", 250, 25) sleep(1000) SplashOff() ; Keep the script alive $iLoopDaLoop = 1 While $iLoopDaLoop = 1 ; Force these windows to close whenever they appear. Winclose("Windows Task Manager") Winclose("Internet Explorer") Winclose("Firefox") Winclose("Outlook Express") Winclose("Connect") Sleep(10) WEnd ; Acknowledge shut down DllCall ("user32.dll", "int", "MessageBeep", "int", 0x33333333) SplashTextOn("Protection Halted", "Disabled programs are allowed again.", 300, 25) sleep(1000) SplashOff() Exit ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Func _Stop1() ; First key pressed in the stop sequence HotKeySet("{F9}") HotKeySet("{F6}", "_Stop2") Sleep(250) ; Took too long. HotKeySet("{F9}", "_Stop1") HotKeySet("{F6}") EndFunc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Func _Stop2() ; Second key pressed in the stop sequence HotKeySet("{F6}") HotKeySet("{F4}", "_Stop3") Sleep(250) ; Took too long. HotKeySet("{F9}", "_Stop1") HotKeySet("{F4}") EndFunc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Func _Stop3() ; Last key pressed in the stop sequence ; Break the loop $iLoopDaLoop = 0 EndFunc Phillip Link to comment Share on other sites More sharing options...
Encryption Posted February 19, 2005 Share Posted February 19, 2005 Very, very nice idea. One fault though(I think) When you press Ctrl+Alt+Delete to get to the task manager, does the AutoIt script still make it close? I can't remember if it did or not. Link to comment Share on other sites More sharing options...
phillip123adams Posted February 19, 2005 Share Posted February 19, 2005 Very, very nice idea. One fault though(I think)When you press Ctrl+Alt+Delete to get to the task manager, does the AutoIt script still make it close? I can't remember if it did or not.<{POST_SNAPBACK}>Yep, the task manager closes. At least it does in XP SP1. Give it a try. Phillip Link to comment Share on other sites More sharing options...
Cipher Posted February 19, 2005 Share Posted February 19, 2005 WinWaitActive("Windows Task Manager") MouseMove(550,90) mouseclick("left") works like a charm Link to comment Share on other sites More sharing options...
Crome_BAD Posted February 19, 2005 Author Share Posted February 19, 2005 Hmmm mayb i can have it close the task manager when it shows up. Ya that sounds good. Thanks Guys, Crome 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