Is it possible to capture the "Wrong Password" message when logging into a Mac using AppleScript?
I looked in the Dictionary -> System Events, but didn't find what I'm looking for.
I would like to create a security system that takes a picture of the user when a wrong password is entered + some stuff (like using iMessage to notify).
Since this is also for learning purpose, I would like to know how to use AppleScript, and not install an app that do the same thing.
Thanks,
After a quick bout of googling it looks like Applescript will stop running when the computer locks. However, using a third party program like SleepWatcher you could potentially start an Applescript, though I'm not sure if then the Applescript would run or return a timeout error as it does when trying to run without SleepWatcher. Best of luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With