Jump to content

Enumerate all process'?

Guest PhantomCircuit

Recommended Posts

Guest PhantomCircuit

This is an attempt to enumerate all of the running process' (by brute force)

But uh it always displays a message box with 0 in it no matter what.

Is there an easier or faster way to do this?

If not how can I make this work?

Opt("RunErrorsFatal", 1)       ;1=fatal, 0=silent set @error
Opt("TrayIconHide", 1)       ;0=show, 1=hide tray icon
Dim $PID[1000];
Dim $pointer=0;
For $i = 0 to 100000
    If ProcessExists($i) <> 0 Then
Link to post
Share on other sites


Did u try this from the AutoIt Help file ?

; List all processes
$list = ProcessList()
for $i = 1 to $list[0][0]
  msgbox(0, $list[$i][0], $list[$i][1])


What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...