[Mono-winforms-list] problem with sendkeys

Rafael Teixeira monoman at gmail.com
Mon Mar 15 06:32:37 EDT 2010


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."
Osho



On Sat, Mar 13, 2010 at 4:56 PM, Stefano Del Furia <delfo at edudotnet.it> wrote:
> 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) receive
> 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
>
>


More information about the Mono-winforms-list mailing list