Jump to content
Sign in to follow this  

If Process Exists

Recommended Posts

Okay im not sure how to do this but I want to make a program that will work somthing along these lines

while 1 = 1
if processexists ("u1006.exe")then
endprocess ("u1006.exe")
msgbox (1,"Anywhere +", "Sorry you can not run software to avoid company blocks");

how could I do this what would be the code to see if a process exixts and how to kill a process I know I can you a cmd command to kill a process but how can I find if a process is running.

Share this post

Link to post
Share on other sites

In the future, if you vaguely know what you need to do but not the exact terminology or method, check the help file first.

Open AutoIt Help File

Click on Index tab

Type "proc..."

- 2nd item shown: ProcessClose

- 3rd item shown: ProcessExists

Click on Search tab

Type "process", click "List topics"

- 5th item shown: Function ProcessClose

- 8th item shown: Function ProcessExists

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...