Created
June 10, 2024 02:11
-
-
Save krasnobaev/e2907467eb40437d3436ef3994a27f8b to your computer and use it in GitHub Desktop.
microsoft VBS user automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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