vbscript_code_generation_utils | R Documentation |
vbscript
Code GenerationUtilities to generate vbscript code in R.
vbscript_lines_echo(x)
vbscript_lines_set_focus_to_window(window_name)
vbscript_lines_execute_keystrokes(keystrokes, init_shell = TRUE)
x |
a string to echo in vbscript |
window_name |
set Windows focus to window by this name; if such a window does not exist, this function just fails to set focus to anything (without indicating failure in R or otherwise) |
keystrokes |
one or more keystrokes to execute; specials include |
init_shell |
keystrokes can only be executed if |
vbscript_lines_echo
: simply generates a Wscript.Echo
call using x
vbscript_lines_set_focus_to_window
: generates a FocusShell.AppActivate
call using window_name
; if such a window does not exist,
this function just fails to set focus to anything
(without indicating failure in R or otherwise)
vbscript_lines_execute_keystrokes
: generates WshShell.SendKey
calls using keystrokes
a vbscript_lines
object (see as.vbscript_lines)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.