[Mono-winforms-list] problem with sendkeys

Stefano Del Furia delfo at edudotnet.it
Mon Mar 15 08:39:15 EDT 2010


HI,
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.
Stefan
 


-----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."
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100315/c0e877fd/attachment.html 


More information about the Mono-winforms-list mailing list