Guest PhantomCircuit Posted February 1, 2005 Share Posted February 1, 2005 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 $PID[$pointer]=ProcessExists($i); $pointer=$pointer+1; msgbox(0,"",$PID[$pointer]); EndIf Next Link to post Share on other sites
Andre 0 Posted February 1, 2005 Share Posted February 1, 2005 Hi, 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]) next Andre 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now