https://github.com/miraisolutions/winsendkeys
Sendkeys R library for Windows
https://github.com/miraisolutions/winsendkeys
cplusplus r rcpp sendinput sendkeys windows
Last synced: 5 months ago
JSON representation
Sendkeys R library for Windows
- Host: GitHub
- URL: https://github.com/miraisolutions/winsendkeys
- Owner: miraisolutions
- Created: 2017-10-26T09:20:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T12:17:32.000Z (over 5 years ago)
- Last Synced: 2024-08-03T22:18:13.436Z (8 months ago)
- Topics: cplusplus, r, rcpp, sendinput, sendkeys, windows
- Language: C++
- Size: 35.2 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - miraisolutions/winsendkeys - Sendkeys R library for Windows (C++)
README
# winsendkeys
[](https://ci.appveyor.com/project/RolandASc/winsendkeys)
[](https://codecov.io/gh/miraisolutions/winsendkeys)Sendkeys R package for Windows
### Installation
Use `remotes` to install directly from Github:
```r
# using package remotes:
remotes::install_github("miraisolutions/winsendkeys")
```In case you are behind a proxy, you can configure this first:
```r
# accessing Github's API over https, while using a http-proxy:
Sys.setenv(https_proxy="http://:@:")
```### Usage
The package exports two main functions, `activateWindow` and `sendKeys`.
In addition, `key2code` returns a simple mapping data.frame for convenience:
```r
key2code()
```|key |code |
|:---|:------------|
|{ |{LEFTBRACE} |
|} |{RIGHTBRACE} |
|+ |{PLUS} |
|@ |{AT} |
|^ |{CARET} |
|~ |{TILDE} |
|( |{LEFTPAREN} |
|) |{RIGHTPAREN} |
|% |{PERCENT} |
|\\t |{TAB} |
|\\n |{ENTER} |
|" |' |
|' |' |