Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miraisolutions/winsendkeys
Sendkeys R library for Windows
https://github.com/miraisolutions/winsendkeys
cplusplus r rcpp sendinput sendkeys windows
Last synced: about 1 hour 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T12:17:32.000Z (almost 5 years ago)
- Last Synced: 2024-08-03T22:18:13.436Z (3 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
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/miraisolutions/winsendkeys?branch=master&svg=true)](https://ci.appveyor.com/project/RolandASc/winsendkeys)
[![codecov](https://codecov.io/gh/miraisolutions/winsendkeys/branch/master/graph/badge.svg)](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} |
|" |' |
|' |' |