Jump to content

Improving a Script


Recommended Posts

This script(99.9% gathered from assistance) is designed to make some poor guy think his computer is frozen.

#NoTrayIcon;Stealthy
HotKeySet("+^x", "Terminate");Setting up the hotkey to end the program, _
;                             that's Ctrl+Shift+X by the way

WinMinimizeAll();Minimizing all open windows

$confirm = MsgBox(1, "Confirm", "Are you sure you want to do this?");Confirmation

    If $confirm = 2 Then;If cancel(2) was clicked, do this.
        MsgBox(0, "Quit", "OK.  Bye!")
        Exit;Ends the script
    EndIf
            
MsgBox(0, "READ", "To re-enable everything, hold Ctrl+Shift+X", 1);Instructions


opt('WinTitleMatchMode', 4)

WinSetState('classname=Shell_TrayWnd', '', @SW_DISABLE);Disabling Taskbar/Tray
WinSetState('classname=Progman', '', @SW_DISABLE);Disabling Desktop
While 1
    Sleep(10);Need a loop, otherwise you can't use the Terminate function.
WEnd

Func Terminate()
    WinSetState('classname=Shell_TrayWnd', '', @SW_ENABLE);Re-enable Taskbar/Tray
    WinSetState('classname=Progman', '', @SW_ENABLE);Re-enable Desktop
    exit;Closes autoit so it doesn't leave a tray icon
EndFunc ;==>Terminate

Can anyone think of more to make this program do?

Link to comment
Share on other sites

the infamous "Blue Screen of Death" when the computer crashes....should be  able to find a bitmap of it online....

<{POST_SNAPBACK}>

Oh that! :(

But that would probably make him reset his computer right away, which wouldn't be too cool. :(

Link to comment
Share on other sites

you're right.......

how about just randomly freezing it up and releasing it or randomly blocking input from the mouse and keyboard(make him think the connection went bad(like a bad cord))

<{POST_SNAPBACK}>

Haha! That'd be cool :(

How would you block all of the keys except ctrl/shift/x?

Link to comment
Share on other sites

  • 7 months later...

Hei ;

How works this script?What can i do for make working this?Can you help me about that.

Actually i've been searching about "disable taskbar from desktop" but i found your script.Can disable taskbar with a script?And not only disable taskbar actually , disable ctrl+alt+del , on keyboard windows logo button ( that run start ) vs . . . I can't do that with registry options.And i dont want to use 3.party programs.

Thanks .. .. ..

Ali Mermercioglu

mermerciogluali@hotmail.com

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...