0

So I can send a message such as keystroke to a window that is not active

Rocky Pulley
  • 22,531
  • 20
  • 68
  • 106
  • http://stackoverflow.com/questions/933203/what-is-the-equivalent-if-any-to-the-c-windows-sendmessage-on-the-mac?rq=1 – mwerschy May 26 '13 at 20:41
  • that's great but how do I get the handle to the window? It would be for an external application. – Rocky Pulley May 26 '13 at 20:43
  • You could have, you know, mentioned that in the original question. In general you shouldn't do that. But if you have a legitimate reason to, you can look into [OS X Accessibility](https://developer.apple.com/technologies/mac/accessibility.html). If you can convince the user to turn it on in the system prefs, then your app can use it. – user1118321 May 27 '13 at 00:34

0 Answers0