Jump to content

Kill process


 Share

Recommended Posts

With external tool script tool that convert .doc in .pdf in batch mode.

Sometime external tool (ghostword) crash or not finish work and

microsoft word excel stay open.

There is any way to check & kill a running program ?

(maybe AI native)

Thank you,

m.

Link to comment
Share on other sites

Here is how...

$process = "process.exe" ;the name of the executable including file extension
$time = 120 ;the time (in secconds) to wait for the process to close before termination
ProcessWaitClose($process,$time)
If ProcessExists($process) Then
    ProcessClose($process)
EndIf

_________[u]UDFs[/u]_________-Mouse UDF-Math UDF-Misc Constants-Uninstaller Shell

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...