How to find apps that use Secure Input

Original link: https://www.ixiqin.com/2022/10/09/the-application-of-how-to-use-secure-find-input/

When I write, I use aText to do a lot of text replacement to improve the efficiency of typing. But under macOS, aText is often blocked by Secure Input and cannot be used. At this time, you need to find the application that is using Secure Input and close it, otherwise your aText will never be enabled.

It is also very easy to find it, you can execute the following command to find the application with Secure Input enabled

 ioreg -l -w 0 | grep SecureInput

Execution effect

After finding the corresponding input, you can see the PID value of kCGSSessionSecureInputPID . For example, here is 182. Next, you can execute the following command to find out which program the PID is 182 is.

 ps auxww | grep 182 #你在使用的时候,记得替换为你对应的PID

After execution, you can see that the red box is the 182 process. Here is the Login Window that comes with macOS. Login Window only needs to perform a lock screen & unlock on the system to unlock Secure Input. If yours is another application, you can directly use kill PID to close it.

Extended reading

This article is reprinted from: https://www.ixiqin.com/2022/10/09/the-application-of-how-to-use-secure-find-input/
This site is for inclusion only, and the copyright belongs to the original author.