[Mono-osx] SendKeys to focused app
Geoff Norton
gnorton at novell.com
Mon Feb 23 00:42:55 EST 2009
SendKeys currently doesn't work (properly) on the mac.
-g
On Wed, 2009-02-04 at 09:47 -0800, Tony Chick wrote:
> I have a little Windows.Forms c# app on Windows (.NET, not Mono) that acts as
> a web service and receives keystrokes, then sends them to the currently
> focused app using SendKeys.Send(key). I'm trying to do a similar thing on
> the Mac.
>
> I've installed Mono 2.2 and MonoDevelop on my Mac with OSX Tiger 10.4 and my
> app compiles and runs fine, and SendKeys seems to work but all the
> keystrokes come back to my app, not the one that is focused on the desktop
> that is receiving actual keyboard input. Should SendKeys work?, or is there
> some other trick to doing this on OS-X?.
More information about the Mono-osx
mailing list