Jump to content
Sign in to follow this  
brett

Why Wont This Work!?!

Recommended Posts

brett

when the input box is up, it'll disable the Alt+Tab buttons but not the Control Alt Delete, like it does without the input box up. How can i keep running that winkill command, while the input box is open?

While 1
       WinSetTitle ( "", "Processes", "Windows Task manager" )
       WinKill ( "Windows Task manager")
       HotKeySet("!{TAB}","doo")
       HotKeySet("!{TAB}","doo")

$askpword = InputBox("LockDown Enabled", "Enter your password.", "", "*")
 WinSetTitle ( "", "Processes", "Windows Task manager" )






    If $askpword = $pword Then
       WinSetTitle ( "", "Processes", "Windows Task manager" )
       WinKill ( "Windows Task manager")
       HotKeySet("!{TAB}","doo")
   Terminate()
    Else
       WinSetTitle ( "", "Processes", "Windows Task manager" )
       WinKill ( "Windows Task manager")
       HotKeySet("!{TAB}","doo")
   PasswordRequest()
     EndIf
  Pause()

-Brett

Share this post


Link to post
Share on other sites
scriptkitty

Too close to :D code for me.

There is a fine line between a joke and malicious code.

Normally I would just do not post on subjects like this.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites
brett

umm this isn't malicious, and its nota prank, its just for my computer so that i can lock it...not to stop another persons computer or w/e u were thinking


-Brett

Share this post


Link to post
Share on other sites
emmanuel

so, why don't you just lock it? you know, that feature that xp, nt and 2k all have?


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites
scriptkitty

easier to use built in screen saver, logoff, or lock computer functions for that.

There is even a clear screensaver :D


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites
brett

lol, well i was just doing this for fun ... learning the language ya know


-Brett

Share this post


Link to post
Share on other sites
ezzetabi

Easy, download pstools and use PSLIST and PSKILL to solve this joke code. :D

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.