Re: problem with sendkeys
"Stefano Del Furia" <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
HI, after some trial i have discovered a lot of error and missing codes on SendKeys implementation in Mono. Know i have correct a lot of bug and all seems to works. What can i do for submiting these corrections ??? Thanks in advance Stefano -----Original Message----- From: "Stefano Del Furia" <[email protected]> To: [email protected] Date: Fri, 19 Mar 2010 21:15:38 +0100 Subject: Re: [Mono-winforms-list] problem with sendkeys HI, 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. Stefano -----Original Message----- From: "Stefano Del Furia" <[email protected]> To: "Rafael Teixeira" <[email protected]> Cc: [email protected] Date: Mon, 15 Mar 2010 13:39:15 +0100 Subject: Re: [Mono-winforms-list] problem with sendkeys 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 <[email protected]> To: Stefano Del Furia <[email protected]> Cc: [email protected] 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 <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list