Sometimes I need to see the pathnames of new macOS processes that appear over time. MacOS doesn't really provide a way to do this. So I've decided to get KM to do this for me. I find this solution to be perfect for me. With this macro, all "new process names" are displayed in a window using the Display Text Large action, but because process names are generally very long, the action displays a very thin window across the screen containing the names of the processes. This is how I like it.
So for example, if you start this macro at time T, then from that point onwards, any new processes that weren't present at time T will be (perpetually) displayed in a window. If they disappear, their names will disappear from the window. Technically, the way Display Text Large works, this is a set of overlapping windows. It's hard to explain, but it works.
Many people ask the question, "How do I get KM to determine if a certain poorly-behaved app is visible on the screen?" This macro may solve that problem, if the app starts a process when the window becomes visible.
Yes, I realize that you can't "click through" the Display Text Large action, but I haven't found that to be a problem so far. And Display Text Large also works over full screen apps, which is one of the other reasons I'm using it.
To see it in action, start it up, then start (and stop) other macOS apps while it's running. You will see names of processes appear and disappear from the screen.
If your Mac is old or slow, you may want to increase the time delay in the third action from 0.2 seconds to a larger value, or else flickering may occur.
Monitor Processes Macro (v11.0.3)
Monitor Processes.kmmacros (11 KB)