Medic873 Posted February 1, 2011 Share Posted February 1, 2011 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"); endif wend 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. Link to comment Share on other sites More sharing options...
Mobius Posted February 1, 2011 Share Posted February 1, 2011 (edited) ~ Edited March 2, 2011 by Mobius Link to comment Share on other sites More sharing options...
Javik Posted February 1, 2011 Share Posted February 1, 2011 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 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