Gigli Posted February 9, 2009 Share Posted February 9, 2009 Hello Is it possible to launch something (a msgbox for example) when a process occuped for example more than 50 % of the CPU ? How ? Thanks you Link to comment Share on other sites More sharing options...
weaponx Posted February 9, 2009 Share Posted February 9, 2009 You could us the ProcessListProperties function like this:While 1 $array = _ProcessListProperties() For $X = 1 to $array[0][0] If $array[$X][6] > 50 Then ;Do stuff EndIf Next Sleep(2000);Poll every 2 seconds WEnd Link to comment Share on other sites More sharing options...
Andreik Posted February 9, 2009 Share Posted February 9, 2009 Here is another example. When the words fail... music speaks. 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