{"id":22356652,"url":"https://github.com/finnishcancerregistry/vbscript","last_synced_at":"2025-03-26T13:15:49.560Z","repository":{"id":174996145,"uuid":"218963246","full_name":"FinnishCancerRegistry/vbscript","owner":"FinnishCancerRegistry","description":"Write and run vbscript code from the comfort of your R session.","archived":false,"fork":false,"pushed_at":"2023-04-02T09:22:03.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T14:38:05.682Z","etag":null,"topics":["automation","keystroke-automation","r","r-interface","r-package","shell-execution","vbscript","windows-automation","windows-scripting"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FinnishCancerRegistry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-01T10:20:28.000Z","updated_at":"2024-10-03T09:23:30.000Z","dependencies_parsed_at":"2023-07-04T15:47:26.025Z","dependency_job_id":null,"html_url":"https://github.com/FinnishCancerRegistry/vbscript","commit_stats":null,"previous_names":["finnishcancerregistry/vbscript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FinnishCancerRegistry%2Fvbscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FinnishCancerRegistry%2Fvbscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FinnishCancerRegistry%2Fvbscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FinnishCancerRegistry%2Fvbscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FinnishCancerRegistry","download_url":"https://codeload.github.com/FinnishCancerRegistry/vbscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245659054,"owners_count":20651526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","keystroke-automation","r","r-interface","r-package","shell-execution","vbscript","windows-automation","windows-scripting"],"created_at":"2024-12-04T14:11:34.900Z","updated_at":"2025-03-26T13:15:49.539Z","avatar_url":"https://github.com/FinnishCancerRegistry.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vbscript\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/FinnishCancerRegistry/vbscript/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/FinnishCancerRegistry/vbscript/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nEnables easy calling of vbscript files from R.\nThis package can be used to automatically interact with GUIs in Windows\nwhen there is no other choice.\n\n## Installation\n\n``` r\ndevtools::install_github(\"WetRobot/vbscript\")\n```\n\n## Examples\n\nPrint something in vbscript\n\n``` r\nlibrary(vbscript)\n\ncall_vbscript_lines(vbscript_lines_echo(\"hello world!\"))\n```\n\nExecute some keystrokes in notepad\n\n``` r\nlibrary(vbscript)\n\nshell.exec(\"notepad\")\nwrite_to_notepad \u003c- c(\n  vbscript_lines_set_focus_to_window(\"Notepad\"), \n  vbscript_lines_execute_keystrokes(c(\"h\", \"e\", \"l\", \"l\", \"o\")), \n  vbscript_lines_set_focus_to_window(\"Notepad\"), \n  vbscript_lines_execute_keystrokes(c(\"{ENTER}\", \"w\",\"o\",\"r\",\"l\", \"d\", \"!\"))\n)\ncall_vbscript_lines(write_to_notepad)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinnishcancerregistry%2Fvbscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinnishcancerregistry%2Fvbscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinnishcancerregistry%2Fvbscript/lists"}