Re: [R] TR: Simulate keyboard

From: Thibault Charles <thibault.charles_at_solamen.fr>
Date: Mon, 16 May 2011 20:29:38 +0200

Thanks !

I'll do that, it seems easier with perl.

Thibault Charles
Solamen
Audencia - 8 route de la Jonelière
44300 Nantes
+33 2 40 37 46 76

Le 16 mai 2011 à 18:43, Philipp Pagel a écrit :

> On Mon, May 16, 2011 at 01:50:15PM +0200, Thibault Charles wrote:

>> Thank you for your response.
>> 
>> In this case, do you think it is possible to write a little program in java
>> which would execute my script and simulate a press on my keyboard ?

>
> I think you need to do it the other way round: let R call an extrenal
> scripts that handles the press-enter business (expect/Java/whatever).
>
> I still think expect would be easieast, but if you feel more
> comfortable with Java, that's going to work aswell.
>
> Coming to thionk of it: your external software is purely text based
> (i.e. running in a DOS-box), isn't it? If it's not, and you are
> actually getting message windows, 'expect' won't be much help but
> there are several tools out there that will happily record your ations
> (keyboard and mouse events alike) and play them back later: google for
> 'windows macro recorder' and you'll get more varieties than you will
> care for.
>
> cu
> Philipp
>
> --
> Dr. Philipp Pagel
> Lehrstuhl für Genomorientierte Bioinformatik
> Technische Universität München
> Wissenschaftszentrum Weihenstephan
> Maximus-von-Imhof-Forum 3
> 85354 Freising, Germany
> http://webclu.bio.wzw.tum.de/~pagel/

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 16 May 2011 - 18:32:19 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 May 2011 - 19:20:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive