myspacee Posted January 21, 2009 Share Posted January 21, 2009 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 More sharing options...
NerdFencer Posted January 21, 2009 Share Posted January 21, 2009 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 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