Hi All, new to the forum.
I need to be able to run a script whenever the Mac wakes up from sleep. Using Ventura. Would really appreciate help. Googling didn't help
Thanks!
Then whenever the Mac wakes it turns the function wakeUp (mark with @objc) and you can set that up to call your script. Then you can put this application as a launch item so it runs when the computer boots up and just sits there in the background waiting on wake events.