dryper Posted January 19, 2007 Share Posted January 19, 2007 OK.. i want to se all process that are running on my computer from my GUI ... how to do this? Link to comment Share on other sites More sharing options...
improbability_paradox Posted January 19, 2007 Share Posted January 19, 2007 (edited) $Combo1 = GUICtrlCreateCombo("", 32, 32, 161, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL, $WS_VSCROLL)) $l = ProcessList() for $i = 1 to $l[0][0] if StringInStr($l[$i][0],".exe") Then GUICtrlSetData(-1, $l[$i][0]) next This is to put the processes into a ComboBox. The GUI isn't created in this snippet - you will have to do that on your own. Also, you can easily replace the ComboBox with another GUI control (like a ListBox) Edit: also note that, if you want the information to update when a process closes or a new one is created, you will have to code that separately. Edited January 19, 2007 by improbability_paradox Link to comment Share on other sites More sharing options...
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