Sign in to follow this  
Followers 0
t0ddie

process exists question

8 posts in this topic

#1 ·  Posted (edited)

i tried to make a script that would find all running processes, but its not working

are wildcards supported for this command? i have had no luck

can a simple script be made that tells you all running processes?

also would be nice to seperate system processes from user processes.

FINALLY.... slighly off this subject... i have seen this in discussion, but never really seen an answer.

can you make your script run as a system process?

PSHWEW... that was alot of questions

~Todd

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites



ProcessList() is in the latest unstable which lists all running processes.

Share this post


Link to post
Share on other sites

so currently this is not supported and i would have to wait right? for the unstable to become stable? lol


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites

Unstable just means it is updated often with new code, and therefore the new code might mess with some coding you already have. It is perfectly OK to download the "unstable" version. I haven't seen it crash anyone's computer yet. :ph34r:


Who else would I be?

Share this post


Link to post
Share on other sites

what about this?

can you make your script run as a system process?


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites

Of course not. Jon is very worried that Anti virus programs may see Autoit scripts as a virus and allowing it starting 'system' processes it is a very virus like activity.

If you need that your script can't be terminated you may:

- start it with a innocent name E.g. services.exe

- make two scripts. One is your main script + a adlib func that check if the second exists and if it does not exist it restarts it. The second just checks is the first exists and restart if needed.

Both way are not totally sure. In the first case the user may terminate the script anyway. In the second case a cunning user may make a .bat file that kills both processes too fast for them to restart.

Share this post


Link to post
Share on other sites

can you make your script run as a system process?

What's a system process for you?

A program running with the rights of the System? That should be no problem: Just tell windows to run the program with the rights of the System user. E.g. create a service.

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  
Followers 0