AppleScript : How to get the PID with highest CPU usage and kill it
Please refer to my attached image, recently I'm trying to write a appleScript to get the PID with highest CPU consume, and then terminate it.
I have try to search for solution from google, but didn't found any proper solution on this problem.
appreciate that anyone can help me on this problem ^_^
any solution would be welcome....
MacBook Air, iOS 8.0.2