Jump to content
Sign in to follow this  
datkewlguy

Task Manager

Recommended Posts

Okay yeah this has bugged me for a while... is there anyway for autoit to hide itself from the process list? if not, then what would be the easiest way of getting rid of task manager all together, as far as moving taskmgr.exe...?

Share this post


Link to post
Share on other sites

Okay yeah this has bugged me for a while... is there anyway for autoit to hide itself from the process list? if not, then what would be the easiest way of getting rid of task manager all together, as far as moving taskmgr.exe...?

<{POST_SNAPBACK}>

Hi o:) i found this from layer on his board^^

Use the search func on his board pls :)

Look it i hope this is wat you need :lmao:

#include <GUIConstants.au3>
$main= GUICreate ("TaskMan", 200, 300)
$mem= MemGetStats ()
$status= GUICtrlCreateLabel ("RAM Left: ",1,284,129,16,BitOr($SS_SIMPLE,$SS_SUNKEN))
GUICtrlSetFont ($status, 8, 5, "", "Comic Sans MS")
$memstats= GUICtrlCreateLabel ("Memory Load: " & $mem[0] & "%",  2, 2)
GUICtrlSetFont ($memstats, 8, 5, "", "Comic Sans MS")
$AllProcesses= ProcessList ()
$Processes= GUICtrlCreateListView ("Processes", 1, 20, 200, 250)
$end= GUICtrlCreateButton ("End Process", 130, 275, -1, -1)
For $i= 1 to $AllProcesses[0][0]
$items= GUICtrlCreateListViewItem ($AllProcesses[$i][0], $Processes)
Next
GUISetState (@SW_SHOW, $main)
While 1
    GUICtrlSetData ($status, "RAM Left: " & $mem[2] & " KB", 1)
    $get= GUIGetMsg ()
    Select
        Case $get= -3 
            Exit
            Case $get= $end
                $getpid= ProcessExists (GUICtrlRead(GUICtrlRead ($Processes)))
                $warning= MsgBox (4 + 48, "WARNING", "Are you sure you want to close this process? Doing so may cause system unstability and unwanted data loss! Continue?")
                If $warning= 6 then 
                    ProcessClose ($getpid)
                Else
                    ContinueLoop
                    EndIf
                
            EndSelect
    WEnd
Edited by DirtyBanditos

Share this post


Link to post
Share on other sites

@Layer Thats not what he wants either & @This-is-me I totally agreed, he shouldn't be asking for it anyway

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...