I know Toolbox can, in some circumstances, kill a process. Is there a way to make it kill whatever process has focus by pressing a hotkey?
Yes, you can kill any active window's process with this action set to a hotkey:
(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Action: Allow failure messages "0"
0002 Window: Assign active ""
0003 Window: Close forcibly ""
(End)
You can also directly kill any process by typing a dash and its exe name in the Command box, like this to kill all open Notepads:
(https://www.alomware.com/images/forum/kill-process.png)
Lastly, you can middle-click a window's icon area to open the Power menu to force quit that window (same as killing its exe) by selecting "Quit forcibly > Only this single app window":
(https://www.alomware.com/images/forum/force-quit-app.png)
There's even more ways to kill processes, such as with dedicated actions using the "Computer: Terminate process" step:
(Start)
HOW TO USE: Copy from Start to End, and then paste into an action.
REFERENCE : See an example of pasting at alomware.com/paste.png
0001 Computer: Terminate process "notepad.exe"
(End)