4

When the display is sleeping in Lion you can no longer wake it by moving the mouse. I need a way to programatically check if the display is sleeping, and if so wake it.

Does anyone know how to do this? In the past I could just generate mouse events and do it, but those don't woke any more with 10.7.

random
  • 9,774
  • 10
  • 66
  • 83
user817759
  • 111
  • 2
  • 6

1 Answers1

1

Not sure what your past code looked like, and it sounds a little hacky, but can you "just generate keyboard events" to do it?

William Denniss
  • 16,089
  • 7
  • 81
  • 124