ludocus 8 Report post Posted July 3, 2008 (edited) I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it.. Edited July 3, 2008 by ludocus Share this post Link to post Share on other sites
Andreik 52 Report post Posted July 3, 2008 I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it..I like your script. muttley When the words fail... music speaks Share this post Link to post Share on other sites
PsaltyDS 27 Report post Posted July 3, 2008 I was inspired by PsaltyDS' udf to make a SBA (Simple But Advanced) Task Manager... So here it is: SBA_Task_Manager.au3 I had to get the If $oProc.GetOwner($sUserName, $sUserDomain) = 0 Then $avProcs[$n][3] = $sUserDomain & "\" & $sUserName line out because if a process stops.. (like when it closes: run notepad.exe and then close notepad (the win it self) will error the udf..) Functions: -See process Name, Priority, Path, CPU (usage), MEM (usage), Date created and Size.. -End a process.. -Export all processes to a file.. -Copy selected process.. Hope you guys like it.. That's pretty cool. muttley You might want to slow the updates down, and make the window resizeable so you can see more of the data. To prevent the crash caused by COM OBJ errors you mentioned, just add a COM error handler to silently catch and handle them. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
Jango 1 Report post Posted July 4, 2008 Nice, Do you think it's hard to add opened port by process ? Share this post Link to post Share on other sites
ludocus 8 Report post Posted July 4, 2008 No,, I would not know how.. @PsaltyDS: Thnx,, @Andreik: Thnx,, Share this post Link to post Share on other sites
DexterMorgan 0 Report post Posted July 4, 2008 This is good and it works muttley code Share this post Link to post Share on other sites
ludocus 8 Report post Posted November 19, 2008 thnx Share this post Link to post Share on other sites
Bam 0 Report post Posted December 4, 2008 i love the ability to export a list but i have an idea what if u put in somthing where it records the first time that process has ran with the program runing that way u can easly see if thiers any thing new runing on ur computer Share this post Link to post Share on other sites
Ascend4nt 118 Report post Posted March 1, 2009 Nice idea and implementation. Only problem is AutoIT3's memory consumption grows incrementally the longer the script runs. Don't know if it's a problem with the WMI memory leak bug they are talkingabout in the _ProcessListProperties thread or not.. Another implementation could make use of the non-WMI functions that are around to get the same basic information. And if you're really ambitious you can create a 'Applications' tab like Task Manager.. Anyway, nice job, Ascend4nt My contributions:Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFs | Process CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen) | Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash RecoveryWrappers/Modifications of others' contributions:_DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity)UDF's added support/programming to:_ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne)(All personal code/wrappers centrally located at Ascend4nt's AutoIT Code) Share this post Link to post Share on other sites
Manko 4 Report post Posted March 4, 2009 (edited) Hi! That was some speedy updating! Sorry for bitching, but your script doesn't report CPU correctly. Not even close to correctly on my puter... Saw that with another WMI-based process manager on this forum... Dunno what's with that?! Have you compared with built-in taskmanager? /Manko [Edit: Have to be honest, but preferably not overly negative.] Edited March 4, 2009 by Manko Yes i rush things! (I sorta do small bursts inbetween doing nothing.) Things I have rushed and reRushed:* ProDLLer - Process manager - Unload viri modules (dll) and moore...* _WinAPI_ProcessListOWNER_WTS() - Get Processes owner list...* _WinAPI_GetCommandLineFromPID() - Get commandline of target process...* _WinAPI_ThreadsnProcesses() Much info if expanded - optional Indented "Parent/Child"-style Processlist. Moore to come... eventually... Share this post Link to post Share on other sites