Topic: Task kill

Hi,

is it possible to kill a task with script? Could you give me an example with notepad.exe, please?

Re: Task kill

Hello,


Try this:

OpenFile('/f /im notepad.exe', 'taskkill.exe'); 
Dmitry.

Re: Task kill

Hello,

It works. Thank you.
But another question. I need a Sleep command for 1 second after the taskkill, but 'Sleep(1000);' doesn't work and I can't find a solution.
How can i realize that?

Re: Task kill

I will add this function (Sleep) in version 1.48



Thanks.

Dmitry.