Jump to content
Sign in to follow this  
harder

closing a process

Recommended Posts

harder

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

Share this post


Link to post
Share on other sites
harder

ty, but that doesnt help ^_^

Share this post


Link to post
Share on other sites
harder

I just tested it on Diablo II, it works fine.

thx, my autoit version was out of date, working now ^_^

Share this post


Link to post
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
Sign in to follow this  

×