[Mono-winforms-list] problem with sendkeys

Stefano Del Furia delfo at edudotnet.it
Fri Mar 19 16:15:38 EDT 2010

after some trial, i have found that Sendkeys don't works.
I have tried to "send" keys from my application to another winforms, to a 
GTK App, to a TextEditor, to a browser address bar but nothing works.
Can someone help me and give to me some directions ???
Thanks in advance.

-----Original Message-----
From: "Stefano Del Furia" <delfo at edudotnet.it>
To: "Rafael Teixeira" <monoman at gmail.com>
Cc: mono-winforms-list at lists.ximian.com
Date: Mon, 15 Mar 2010 13:39:15 +0100
Subject: Re: [Mono-winforms-list] problem with sendkeys

the others application aren't Winforms application, but in Windows this is 
not a problem.
Infact with SendKeys you can send key to everithing !!!
Is there any workaround ???
Thanks in advance.

-----Original Message-----
From: Rafael Teixeira <monoman at gmail.com>
To: Stefano Del Furia <delfo at edudotnet.it>
Cc: mono-winforms-list at lists.ximian.com
Date: Mon, 15 Mar 2010 07:32:37 -0300
Subject: Re: [Mono-winforms-list] problem with sendkeys

First question is the other app an WinForms one, too? Normal Linux
apps won't interact, AFAIK. Even winforms apps may not respond, as I
remember most work was going in the automation through the
Accessibility tools, that has better security underpinnings (allowing
some app to interact as the user in another is a risk that X normally
precludes) for the task.

See http://www.mono-project.com/Accessibility

Rafael "Monoman" Teixeira
"To be creative means to be in love with life. You can be creative
only if you love life enough that you want to enhance its beauty, you
want to bring a little more music to it, a little more poetry to it, a
little more dance to it."

On Sat, Mar 13, 2010 at 4:56 PM, Stefano Del Furia <delfo at edudotnet.it> 
> hi,
> i'm developing an application that need to send some "keys" to the active
> application.
> I have used this line of code:
> SendKey.SendWait("C");
> and in windows the active application (like notepad, word and so on) 
> the chars.
> But when i try to do the same using Mono 2.6, nothing happened.
> What am i wrong ??
> Thanks in advance
> Stefano
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100319/76cbc2c5/attachment-0001.html 

More information about the Mono-winforms-list mailing list