Skip to content

FinnishCancerRegistry/vbscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbscript

R-CMD-check

Enables easy calling of vbscript files from R. This package can be used to automatically interact with GUIs in Windows when there is no other choice.

Installation

devtools::install_github("WetRobot/vbscript")

Examples

Print something in vbscript

library(vbscript)

call_vbscript_lines(vbscript_lines_echo("hello world!"))

Execute some keystrokes in notepad

library(vbscript)

shell.exec("notepad")
write_to_notepad <- c(
  vbscript_lines_set_focus_to_window("Notepad"), 
  vbscript_lines_execute_keystrokes(c("h", "e", "l", "l", "o")), 
  vbscript_lines_set_focus_to_window("Notepad"), 
  vbscript_lines_execute_keystrokes(c("{ENTER}", "w","o","r","l", "d", "!"))
)
call_vbscript_lines(write_to_notepad)

About

Write and run vbscript code from the comfort of your R session.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy