Re: problem with sendkeys
Rafael Teixeira <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
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