[Mono-winforms-list] SendKeys

Jackson Harper jackson at ximian.com
Wed Jan 31 16:46:26 EST 2007


It is only available by using SVN right now.  It will be in our next
release which should be out very soon.

Just for clarity:

 - It is not available in any current releases
 - It has been implemented
 - The implementation is in our SVN repository
 - The next release will include the implementation
 - The next release will be out soon

Jackson



On Wed, 2007-01-31 at 22:44 +0100, Martin Hombauer wrote:
> > 
> >> -----Original Message-----
> >> From: mono-winforms-list-bounces at lists.ximian.com [mailto:mono-
> >> winforms-list-bounces at lists.ximian.com] On Behalf Of Martin Hombauer
> >> Sent: miércoles, 31 de enero de 2007 20:30
> >> To: mono-winforms-list at lists.ximian.com
> >> Subject: Re: [Mono-winforms-list] SendKeys
> >>
> >>> On 1/31/07, martin at fony.sk <martin at fony.sk> wrote:
> >>>>> Hi,
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: mono-winforms-list-bounces at lists.ximian.com [mailto:mono-
> >>>> winforms-list-bounces at lists.ximian.com] On Behalf Of martin at fony.sk
> >>>> Sent: miércoles, 31 de enero de 2007 9:53
> >>>>>> To: mono-winforms-list at lists.ximian.com
> >>>>>> Subject: [Mono-winforms-list] SendKeys
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> I am building an application with virtual keyboard, using
> >>>> touchscreen. I
> >>>>>> need to send (simulate) a key event when I press button. In
> >> windows
> >>>> .NET,
> >>>>>> there's a method called System.Windows.Forms.SendKeys.Send(),
> >> which
> >>>> simply
> >>>>>> does this thing. But in Mono, compiling results in "The requested
> >>>> feature
> >>>>>> is not implemented."
> >>>>>>
> >>>>>> Is there any other way to make this work? Does anybody knows,
> >> when
> >>>> will be
> >>>>>> this method implemented in Mono?
> >>>>> SendKeys is already implemented (though not a long time ago), so
> >> which
> >>>> version of mono are you using?
> >>>>> Rolf
> >>>>>
> >>>> I am using mono-core-1.2.2.1-0.novell
> >>>> " rpm -qa | grep mono-core* "
> >>>> I downloaded RPMs for Fedora 5, added them to yum repository and
> >>>> installed.
> >>>>
> >>>> Is SendKeys.Send() method ready for Fedora 5?
> >>> I believe SendKeys is new to Mono 1.2.3, which has not quite been
> >>> released yet (there are preview releases available for download,
> >>> though).  See the draft of the release notes:
> >>>
> >>> http://go-mono.com/archive/1.2.3/
> >>>
> >>> Best,
> >>> Sandy
> >>>
> >> Thanks Sandy, I though so.
> >>
> >> For Rolf:
> >> Monodevelep knows SendKeys.Send() method after adding
> >> System.Windows.Forms.dll to references, everything seems ok, there are
> >> no errors or warnings after compilation, but when application starts
> >> and
> >> I call that method (by pressing a button), application crashes with
> >> "The
> >> requested feature is not implemented" and other error messages. It
> >> seems
> >> like the method is implemented, but it is not.
> >> There is also a bug-report:
> >> http://lists.ximian.com/pipermail/mono-bugs/2006-November/050592.html
> >>
> >> I hope the function will be soon implemented, because I cant find other
> >> way to make virtual keyboard work, I started programming in C#
> >> recently.
> >> I tried to start external application xsendkey to send key event to my
> >> application, but it is not working fine, because in my application,
> >> there is gecko-sharp widget (mozilla window) and I cant get it focused
> >> when starting xsendkey so the text cannot by written, for example, in a
> >> form on webpage. That is a reason, why I need to send key events to my
> >> application.
> >>
> > It is implemented, just not in the version you have :)
> > 
> > Rolf
> 
> Have you ever use that method? How? Help me if you can :)
> 
> I have 1.2.2.1 version and it is the newest on Mono's website.
> 
> For example, SendKeys.Send("{ENTER}") is not working nor 
> SendKeys.Send("a"). I have tried everything, not only these examples. 
> Just using "SendKeys.Send()" with no arguments makes no error, but it is 
> doing nothing, of course.
> 
> Site http://go-mono.com/archive/1.2.3/ (from Sandy) says:
> New in Mono 1.2.3:
> SendKeys (1.1) has been implemented [Andreia Gaita]
> 
> But there's no download link, they're just testing it now.
> _______________________________________________
> 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