taskkill current program

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
jojoharry16
Posts: 2
Joined: 21 Sep 2017, 04:38

taskkill current program

21 Sep 2017, 04:47

I know it's possible to kill a specific program using taskkill, but is it possible to dynamically select a program? Specifically the one currently in use?
Rohwedder
Posts: 7681
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: taskkill current program

21 Sep 2017, 05:20

Hallo,
try:

Code: Select all

q::
	WinGet, PID, PID, A
	Process, Close, %PID%
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 166 guests