/winsendkeys

Sendkeys R library for Windows

Primary LanguageC++

winsendkeys

AppVeyor Build Status codecov

Sendkeys R package for Windows

Installation

Use remotes to install directly from Github:

# using package remotes:
remotes::install_github("miraisolutions/winsendkeys")

In case you are behind a proxy, you can configure this first:

# accessing Github's API over https, while using a http-proxy:
Sys.setenv(https_proxy="http://<username>:<password>@<ip>:<port>")

Usage

The package exports two main functions, activateWindow and sendKeys.

In addition, key2code returns a simple mapping data.frame for convenience:

key2code()
key code
{ {LEFTBRACE}
} {RIGHTBRACE}
+ {PLUS}
@ {AT}
^ {CARET}
~ {TILDE}
( {LEFTPAREN}
) {RIGHTPAREN}
% {PERCENT}
\t {TAB}
\n {ENTER}
" '
' '