Macro Scheduler 15

KillProcess

KillProcess>process

 

Terminates the given process.  Process can be a module name (e.g. notepad.exe) or a numeric process ID.

 

See also: WaitProcessExists, WaitProcessTerminated, ProcessExists

Abbreviation: Kil

 

Example

 

ProcessExists>notepad.exe,bNotepadExists

If>bNotepadExists=True

  KillProcess>notepad.exe

Endif