Jump to content

Recommended Posts

Posted (edited)

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
Posted

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

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
×
×
  • Create New...