Can the OS X unlock panel trigger a login hook similar to loginwindow?

2

I'd like to automatically run a shell script every time I authenticate onto my computer. However, all the info I can find about loginhook and Global LoginItems applies only when authenticating to "loginwindow," and not to the "unlock panel."

The unlock panel prompts for a password when waking up from sleep or from a locked screen. Is there any way to trigger script execution after successfully unlocking the screen?

Allen

Posted 2010-08-22T05:57:52.423

Reputation: 41

FYI this has been asked again here: http://superuser.com/questions/447154

– pinko – 2012-07-24T17:58:16.997

Answers

1

You may want to have a look at SleepWatcher. It lets you execute Unix commands on wakeup. Not exactly what you are looking for, but still, it can help.

reg

Posted 2010-08-22T05:57:52.423

Reputation: 827