pkamb / PowerKey

Remap your Macbook's power key to Forward Delete
MIT License
229 stars 29 forks source link

Reinstalled PowerKey in new Catalina install... Not triggering shutdown #88

Closed miglto closed 3 years ago

miglto commented 3 years ago

Running in a mac mini 2012. Installed initially on Mojave, upgraded to Catalina and kept working. Just did a clean install in Catalina and reinstalled but does not work anymore. PowerKey is set to trigger a script with the content:

tell application "System Events" shut down end tell

Moreover, if I run the script from the Script Editor, it does work.

I did enable PowerKey in Accessibility...

miglto commented 3 years ago

Nevermind... Seems to have been an issue with permissions. I copied the working helloPowerKeyAppleScript.scpt to a script name, replaced the content with what I wanted, and it now runs.