Jump to content

Suspending Process


Recommended Posts

I have a installer window that keeps popping up. I want to use autoIt to freeze the process whenever it comes up. I've seen the option in the SysInternals' Process Explorer program to suspend a process. How can I do that in AutoIT.

P.S: Does a program have the same PID every time it runs?

Edited by Damastah
Link to comment
Share on other sites

try it

if processexists(\"Name.exe\") Then
    ProcessClose(\"Name.exe\")

or

ProcessWait(\"name.exe\")
 ProcessClose(\"name.exe\")

search other types in help file.

Always Keep Your Sig Small... Like me :D

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...