Jump to content

closing a process


Recommended Posts

hi, i wrote a script for diablo 2 and it works fine as long as i use the winclose function to shut d2 down

but sometimes there is a bug and the d2 window disappears (but the process is still running)

i wrote a sequence that tries to close the process via processclose() (tried pid and processname), but somehow it doesnt work

the processclose("Game.exe") doesnt work in general, even when the diablo window still exists)

it can be terminated by using the taskmanager tho

now i want to know if there is a way for autoit to close the process like the task manager does.

thx in advance ^_^

/edit: the process is not invisible to autoit, winexist("game.exe") is true and im able to get the pid via ProcessList("game.exe")

Edited by harder
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...