Skip to content

Instantly share code, notes, and snippets.

@krasnobaev
Created June 10, 2024 02:11
Show Gist options
  • Save krasnobaev/e2907467eb40437d3436ef3994a27f8b to your computer and use it in GitHub Desktop.
Save krasnobaev/e2907467eb40437d3436ef3994a27f8b to your computer and use it in GitHub Desktop.
microsoft VBS user automation
set shell=wscript.createobject("Wscript.shell")
Wscript.Sleep 3000
shell.sendkeys "user_name"
Wscript.Sleep 500
shell.sendkeys "{TAB}"
Wscript.Sleep 500
shell.sendkeys "pass_word"
Wscript.Sleep 500
shell.sendkeys "{ENTER}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment