Jump to content
Sign in to follow this  
tom13

get process type/user

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Note: 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 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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...