emanuensis
emanuensis

Reputation: 133

How do you kill a (window free) process in AHK?

I have a windowless process I want to kill with AutoHotkey. (I could know anything, e.g. the PID.)

For example I have tried WinKill, eg with

WinKill , ahk_pid %p_id%

Nada. Anything else?

Upvotes: 4

Views: 2354

Answers (1)

errorseven
errorseven

Reputation: 2682

Simple.

Process, Close, %PidOfwindow%

Upvotes: 1

Related Questions