tom13 Posted December 19, 2007 Share Posted December 19, 2007 Hi, I know how to get an array with all processes (processlist()), but now I need to know if the process is run by the system or by the user itself. I could not find a method for this in the help file or on the forums, so was wondering if anyone had an idea? If you don't understand what I mean, just go to task manager, after every process you will see an "username" - in many situations this is either SYSTEM or your windows username. Thanks in advance Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 19, 2007 Share Posted December 19, 2007 (edited) Hi,I know how to get an array with all processes (processlist()), but now I need to know if the process is run by the system or by the user itself. I could not find a method for this in the help file or on the forums, so was wondering if anyone had an idea?If you don't understand what I mean, just go to task manager, after every process you will see an "username" - in many situations this is either SYSTEM or your windows username.Thanks in advanceNote: Shameless self promotion is not a bad thing if you're a penguin:_ProcessListProperties() Edit: The function _ProcessListProperties() has a new home in Example Scripts. Please take criticism/suggestions to that topic. Edited May 5, 2008 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
weaponx Posted December 19, 2007 Share Posted December 19, 2007 Note: Shameless self promotion is not a bad thing if you're a penguin:_ProcessListProperties() Its hard to distinguish yourself when you look like everyone else! Link to comment Share on other sites More sharing options...
PsaltyDS Posted December 19, 2007 Share Posted December 19, 2007 Its hard to distinguish yourself when you look like everyone else!True, and a penguin wouldn't be caught dead in yellow spandex just to get attention! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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