how to invoke an applescript from the lock screen?

2019-09-03 15:58发布

问题:

I would like to know how to invoke an applescript from the lock screen. I am using Hammerspoon for hotkey triggering. So I am kind of thinking of automating login using hotkeys if not using hammerspoon is there anyother ways?

Any suggestion is appreciated