Sign in to follow this  
Followers 0
brett

Disableing

7 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

:huh2: are you making a virus or something :D

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 by dazzyreil

Share this post


Link to post
Share on other sites

no, not a virus just a prank :D nice guess


-Brett

Share this post


Link to post
Share on other sites

what about Alt+Tab? i need that one too :D i can't think of a window or proccess to stop on that one


-Brett

Share this post


Link to post
Share on other sites

$var = 1

while $var = 1

WinKill ( "Windows Task manager")

Wend
My 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)

:D

Share this post


Link to post
Share on other sites

thats genius...


-Brett

Share this post


Link to post
Share on other sites

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. :D


David Nuttall
Nuttall 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...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0