[R] Generating mouse click and hold using R

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Wed Mar 13 14:52:03 CET 2024


No idea if the package below would work. This package is MSWindows only. Since this was readily found using a search engine, you should have mentioned that you already found this and why it didn't work for you when you posted.

https://cran.r-project.org/web/packages/KeyboardSimulator/readme/README.html
https://stat.ethz.ch/R-manual/R-devel/library/base/html/Sys.sleep.html


On March 13, 2024 6:31:59 AM PDT, Christofer Bogaso <bogaso.christofer using gmail.com> wrote:
>Hi,
>
>I wonder if R can provide any functionality where I need simulate
>mouse click in windows machine at certain coordinate on screen and
>hold the click for certain seconds e.g. for 5 seconds
>
>Really appreciate if I can have someone suggestion how above can be
>simulated with R
>
>Thanks and regards,
>
>______________________________________________
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list