brett Posted April 29, 2004 Posted April 29, 2004 is there a way to disable control+alt+delete so that u can't exit autoit?, but then enable it when the program ends? -Brett
dazzyreil Posted April 29, 2004 Posted April 29, 2004 (edited) are you making a virus or something here is a code that works for my pranks programms WinKill ( "Windows Task manager") but this only works good if you put it in a loop:S like this $var = 1 while $var = 1 WinKill ( "Windows Task manager") Wend Edited April 29, 2004 by dazzyreil
brett Posted April 30, 2004 Author Posted April 30, 2004 no, not a virus just a prank nice guess -Brett
brett Posted April 30, 2004 Author Posted April 30, 2004 what about Alt+Tab? i need that one too i can't think of a window or proccess to stop on that one -Brett
Todd Bauer Posted April 30, 2004 Posted April 30, 2004 $var = 1 while $var = 1 WinKill ( "Windows Task manager") WendMy 2 cents.... This code can be tightened up a bit.... While 1 WinKill ( "Windows Task manager") Wend No insult intended, just wanted to pass it on (and get some more posts)
Nutster Posted May 3, 2004 Posted May 3, 2004 There are several keystroke combinations that never make it to the applications or hotkeys. See the help for the list. I believe the NMI (non-maskable interupt) done by Ctrl-Alt-Del, and Alt-Tab are trapped by the OS and can not be trapped, unless you turn off all input from the keyboard. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd...
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